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

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

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

LUCENE-8381: Do not count hard-deletes as soft-deletes in merges

Today if a document is soft-deleted, then hard-deleted, IW, however,
considers that doc as soft-deleted when wrapping readers for merges.

This change makes sure that IW excludes the hard-deleted documents from
a merge reader, and does not count them as soft-deletes.

Co-authored-by: Simon Willnauer <[email protected]>


> IW counts hard-deletes as soft-deletes in merges
> ------------------------------------------------
>
>                 Key: LUCENE-8381
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8381
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 7.4
>            Reporter: Nhat Nguyen
>            Assignee: Simon Willnauer
>            Priority: Major
>             Fix For: master (8.0), 7.5, 7.4.1
>
>         Attachments: LUCENE-8381-inline.patch, LUCENE-8381-merge.patch, 
> LUCENE-8381.patch, LUCENE-8381.patch, LUCENE-8381.patch, 
> merge-soft-hard-deletes.patch
>
>
> If a document is soft-deleted, then hard-deleted, IW, however, accounts that 
> document as soft-deleted when wrapping readers for merges.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to