[
https://issues.apache.org/jira/browse/LUCENE-5979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153152#comment-14153152
]
Robert Muir commented on LUCENE-5979:
-------------------------------------
I like the idea of using a better heuristic here, I guess my question is if
interpreting the cost method as an absolute value (versus just using it as a
relative one) is safe?
> 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]