[ https://issues.apache.org/jira/browse/LUCENE-8425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16556084#comment-16556084 ]
Lucene/Solr QA commented on LUCENE-8425: ---------------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 5s{color} | {color:red} LUCENE-8425 does not apply to master. Rebase required? Wrong Branch? See https://wiki.apache.org/lucene-java/HowToContribute#Contributing_your_work for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | LUCENE-8425 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12933008/LUCENE-8425.patch | | Console output | https://builds.apache.org/job/PreCommit-LUCENE-Build/52/console | | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | This message was automatically generated. > 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 > Priority: Major > Fix For: master (8.0), 7.5 > > Attachments: LUCENE-8425.patch, LUCENE-8425.patch > > > 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