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

Uwe Schindler commented on LUCENE-5979:
---------------------------------------

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

LUCENE-5441 was opened to solve this. I just did not finish it, but the patch 
should still work as base for extending.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to