Simon Willnauer created LUCENE-8569:
---------------------------------------
Summary: 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
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]