[
https://issues.apache.org/jira/browse/LUCENE-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533006#comment-16533006
]
ASF subversion and git services commented on LUCENE-8381:
---------------------------------------------------------
Commit c65fb8568a9d1b126c00f13c001644120e5cdf02 in lucene-solr's branch
refs/heads/branch_7x from [~dnhatn]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c65fb85 ]
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]