[
https://issues.apache.org/jira/browse/LUCENE-8200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398235#comment-16398235
]
ASF subversion and git services commented on LUCENE-8200:
---------------------------------------------------------
Commit b627fae03215fe52dee70638299e0b7c62b79c99 in lucene-solr's branch
refs/heads/branch_7x from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b627fae ]
LUCENE-8200: Allow doc-values to be updated atomically together with a document
Today we can only update a document by deleting all previously indexed
documents for the given term. In some cases like when deletes are not
`final` in the way that documents that are marked as deleted should not
be merged away a `soft-delete` is needed which is possible when doc-values
updatea can be done atomically just like delete and add in updateDocument(s)
This change introduces such a soft update that reuses all code paths from
deletes
to update all previously updated documents for a given term instead of marking
it
as deleted. This is a spinnoff from LUCENE-8198
> Allow doc-values to be updated atomically together with a document
> -------------------------------------------------------------------
>
> Key: LUCENE-8200
> URL: https://issues.apache.org/jira/browse/LUCENE-8200
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: 7.4, master (8.0)
> Reporter: Simon Willnauer
> Assignee: Simon Willnauer
> Priority: Major
> Attachments: LUCENE-8200.patch, LUCENE-8200.patch, LUCENE-8200.patch
>
>
> Today we can only update a document by deleting all previously indexed
> documents for the given term. In some cases like when deletes are not `final`
> in the way that documents that are marked as deleted should not be merged
> away a `soft-delete` is needed which is possible when doc-values updates can
> be done atomically just like delete and add in updateDocument(s)
>
> This change introduces such a soft update that reuses all code paths from
> deletes to update all previously updated documents for a given term instead
> of marking it as deleted. This is a spinnoff from LUCENE-8198
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]