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

Reply via email to