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

Paul Elschot commented on LUCENE-5293:
--------------------------------------

About the patch of 21 Oct:

Adds EliasFanoEncoderUpperBound (instead of EliasFanoEncoder2) with only an 
upperBound argument to the constructor.
Adds a freeze() method to EliasFanoEncoder to reallocate to actual size.
Both are used in EliasFanoDocIdSet, which now also reverts to using an FBS as 
needed.

Adapted TestEliasFanoDocIdSet to use EliasFanoDocIdSet randomly half of the 
time with a -1  numValues so it may use EliasFanoEncoderUpperBound instead of 
EliasFanoEncoder at first.

For the rest see my remarks about the patch of 20 Oct.


> Also use EliasFanoDocIdSet in CachingWrapperFilter
> --------------------------------------------------
>
>                 Key: LUCENE-5293
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5293
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-5293.patch, LUCENE-5293.patch, LUCENE-5293.patch, 
> LUCENE-5293.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to