[
https://issues.apache.org/jira/browse/LUCENE-7572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-7572:
---------------------------------
Attachment: LUCENE-7572.patch
Here is a patch. DocValuesTermsQuery and DocValuesNumbersQuery now compute a
hashCode in constant time. DocValuesTermsQuery was also switched to
PrefixCodedTerms to be more consistent with TermsQuery and
DocValuesNumbersQuery switched to a hash set of primitive longs to avoid having
to box all terms.
> Cache the hashcode of the doc values terms queries
> --------------------------------------------------
>
> Key: LUCENE-7572
> URL: https://issues.apache.org/jira/browse/LUCENE-7572
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7572.patch
>
>
> DocValuesNumbersQuery and DocValuesTermsQuery can potentially wrap a large
> number of terms so it would help if we cached their hashcode.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]