[
https://issues.apache.org/jira/browse/LUCENE-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709615#comment-13709615
]
ASF subversion and git services commented on LUCENE-5115:
---------------------------------------------------------
Commit 1503619 from [~jpountz] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1503619 ]
LUCENE-5115: WAHDocIdSet's iterator cost() function now returns the exact
cardinality of the set.
> 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
> Attachments: LUCENE-5115.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]