[
https://issues.apache.org/jira/browse/LUCENE-8484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604485#comment-16604485
]
ASF subversion and git services commented on LUCENE-8484:
---------------------------------------------------------
Commit 334006833ef48d60bf9c9680891b50a917ddb66e in lucene-solr's branch
refs/heads/branch_7x from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3340068 ]
LUCENE-8484: Only drop fully deleted segments in
SoftDeletesDirectoryReaderWrapper
This specializes the change in LUCENE-8484 since there are valid usecases
where filtered reader should not modify the number of readers if a higher
level reader wants to expose the deleted or soft-deleted docs.
> Drop fully deleted reader in SubReaderWrapper
> ---------------------------------------------
>
> Key: LUCENE-8484
> URL: https://issues.apache.org/jira/browse/LUCENE-8484
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: 7.5, master (8.0)
> Reporter: Simon Willnauer
> Priority: Minor
> Fix For: 7.5, master (8.0)
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Today we can only wrap readers in SubReaderWrapper but never filter them out
> entirely. This causes a invariant for soft-deletes that exposes fully deleted
> segments with SoftDeletesDirectoryReaderWrapper. This change drops fully
> deleted readers after they are wrapped.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]