lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-5115) Make WAH8DocIdSet compute its cardinality at building time and use it for cost()
Date Mon, 15 Jul 2013 21:44:48 GMT
Adrien Grand created LUCENE-5115:
------------------------------------

             Summary: Make WAH8DocIdSet compute its cardinality at building time and use it
for cost()
                 Key: LUCENE-5115
                 URL: https://issues.apache.org/jira/browse/LUCENE-5115
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor


DocIdSetIterator.cost() accuracy can be important for the performance of some queries (eg.ConjunctionScorer).
Since WAH8DocIdSet is immutable, we could compute its cardinality at building time and use
it for the cost function.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message