You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/11/25 01:05:58 UTC

[jira] [Commented] (LUCENE-7572) Cache the hashcode of the doc values terms queries

    [ https://issues.apache.org/jira/browse/LUCENE-7572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15694532#comment-15694532 ] 

David Smiley commented on LUCENE-7572:
--------------------------------------

Looks nice Adrien.

I like the addition of LongHashSet into Lucene.  Maybe it should be public and go into the util package?  Did you consider simply ripping off the one from HPPC?

Can you please remind me on why PrefixCodedTerms exists instead of an FST?  Granted it's not *quite* the same.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org