[
https://issues.apache.org/jira/browse/LUCENE-8725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16793420#comment-16793420
]
Adrien Grand commented on LUCENE-8725:
--------------------------------------
I think it was done this way to make sure that equals/hashCode remain fast,
since the query cache calls these methods implicitly quite frequently. If we
were to do this again today, maybe we'd consider disabling caching instead
(Weight#isCacheable).
> Make TermsQuery public
> ----------------------
>
> Key: LUCENE-8725
> URL: https://issues.apache.org/jira/browse/LUCENE-8725
> Project: Lucene - Core
> Issue Type: Wish
> Reporter: Noble Paul
> Priority: Trivial
> Fix For: 8.1
>
>
> I have come across use-cases where directly accessing {{TermsQuery}} can
> help. If there is no objection I would like to make it public
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]