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

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

Commit 56cb42d200dd999342c4cd5c92fbfa271ba91153 in lucene-solr's branch 
refs/heads/master from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=56cb42d ]

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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to