GitHub user s1monw opened a pull request:

    https://github.com/apache/lucene-solr/pull/502

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/s1monw/lucene-solr only_count_if_hard_deletes

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/502.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #502
    
----
commit 87f571610c2f6cfdaa226c6121191c2e656bd13e
Author: Simon Willnauer <simonw@...>
Date:   2018-11-20T11:56:20Z

    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.

----


---

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

Reply via email to