[
https://issues.apache.org/jira/browse/LUCENE-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand closed LUCENE-5424.
--------------------------------
Resolution: Fixed
> FilteredQuery useRandomAccess() should use cost()
> -------------------------------------------------
>
> Key: LUCENE-5424
> URL: https://issues.apache.org/jira/browse/LUCENE-5424
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/query/scoring
> Reporter: David Smiley
>
> Now that Lucene's DISI has a cost() method, it's possible for FilteredQuery's
> RANDOM_ACCESS_FILTER_STRATEGY to use a smarter algorithm in its
> useRandomAccess() method. In particular, it might examine filterIter.cost()
> to see if it is greater than the cost returned by weight.scorer().cost() of
> the query.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]