You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2018/11/20 15:56:01 UTC
[jira] [Created] (LUCENE-8569) Never count soft-deletes if reader
has no hard-deletes
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org