[ 
https://issues.apache.org/jira/browse/LUCENE-8484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604483#comment-16604483
 ] 

ASF subversion and git services commented on LUCENE-8484:
---------------------------------------------------------

Commit c8b47e2024ddef066b297b7bd67983ebf458b060 in lucene-solr's branch 
refs/heads/master from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c8b47e2 ]

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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to