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

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

Commit 8f76c1b0ca64cd65e05330de9379fed44cfe6a8f in lucene-solr's branch 
refs/heads/branch_7x from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8f76c1b ]

LUCENE-8569: Never count soft-deletes if reader has no hard-deletes

Today we count the actual soft-deletes during a merge which is
unnecessary if there are no hard-deletes present. In this case, which
is considered to be the common case we can get accurate counts by substracting
the number of deleted docs in the wrapped reader from the number of soft-deletes
in that reader.


>  Never count soft-deletes if reader has no hard-deletes
> -------------------------------------------------------
>
>                 Key: LUCENE-8569
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8569
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 7.5, master (8.0)
>            Reporter: Simon Willnauer
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
>  Today we count the actual soft-deletes during a merge which is
>     unnecessary if there are no hard-deletes present. In this case, which
>     is considered to be the common case we can get accurate counts by 
> substracting
>     the number of deleted docs in the wrapped reader from the number of 
> soft-deletes
>     in that reader.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to