Simon Willnauer created LUCENE-8425:
---------------------------------------

             Summary:  Expose hard live docs on SegmentReader level
                 Key: LUCENE-8425
                 URL: https://issues.apache.org/jira/browse/LUCENE-8425
             Project: Lucene - Core
          Issue Type: Improvement
    Affects Versions: master (8.0), 7.5
            Reporter: Simon Willnauer
             Fix For: master (8.0), 7.5


Today if soft deletes are used we expose a union of hard and soft deletes
    via LeafReader#getLiveDocs. Yet, if a users wants to take advantage of
    searching also soft-deleted documents the only option today is to search
    all documents even though some of them are hard deleted. The recommendation
    is to not mix those but in exceptional cases ie. when a document hits a
    non-aborting exception during indexing the document is marked as hard
    deleted which is the correct action. In order to filter those out having
    access to the hard live docs on the segment reader level allows to filter 
out
    these documents.



--
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