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

Adrien Grand commented on LUCENE-5979:
--------------------------------------

bq. I just am worried about 'crappy' implementations though, like FixedBitSet. 
Must that one really implement DocIDSet?

LUCENE-5938 makes sure to not use FixedBitSet when the doc ids to store are 
sparse. I think the only last bad guys are ChainedFilter (which I proposed to 
remove) and BooleanFilter (that could be fixed). So I don't think this should 
be a blocker for this issue?

> Use the cost API instead of a heuristic on the first document in 
> FilteredQuery to decide on whether to use random access
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5979
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5979
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 5.0
>
>         Attachments: LUCENE-5979.patch
>
>
> Now that some major filters such as TermsFilter and 
> MultiTermQueryWrapperFilter return DocIdSets that have a better cost, we 
> should switch to the cost API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to