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

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

If there are no concerns anymore, I will commit this patch soon.

> 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