[
https://issues.apache.org/jira/browse/LUCENE-8569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Willnauer resolved LUCENE-8569.
-------------------------------------
Resolution: Fixed
Fix Version/s: 7.7
master (8.0)
> 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
> Fix For: master (8.0), 7.7
>
> 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]