[ 
https://issues.apache.org/jira/browse/LUCENE-10085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459021#comment-17459021
 ] 

ASF subversion and git services commented on LUCENE-10085:
----------------------------------------------------------

Commit 352a6b68f0dfc6847e81bcd41a4c66b86494e2b4 in lucene's branch 
refs/heads/branch_9x from Quentin Pradet
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=352a6b6 ]

LUCENE-10085: Fix flaky testQueryMatchesCount (#538)

Five times every 10 000 tests, we did not index any documents with i
between 0 and 10 (inclusive), which caused the deleted tests to fail.

With this commit, we make sure that we always index at least one
document between 0 and 10.

> Implement Weight#count on DocValuesFieldExistsQuery
> ---------------------------------------------------
>
>                 Key: LUCENE-10085
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10085
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: 9.1
>
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> Now that we require all documents to use the same features (LUCENE-9334) we 
> could implement {{Weight#count}} to return docCount if either terms or points 
> are indexed.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to