You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/01/30 18:02:09 UTC
[jira] [Created] (LUCENE-5424) FilteredQuery useRandomAccess()
should use cost()
David Smiley created LUCENE-5424:
------------------------------------
Summary: 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.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org