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

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

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

LUCENE-8298: Allow DocValues updates to reset a value

Today once a document has a value in a certain DV field this values
can only be changed but not removed. While resetting / removing a value
from a field is certainly a corner case it can be used to undelete a
soft-deleted document unless it's merged away.
This allows to rollback changes without rolling back to another commitpoint
or trashing all uncommitted changes. In certain cenarios it can be used to
"repair" history of documents in distributed systems.


> Allow DocValues updates to reset a value
> ----------------------------------------
>
>                 Key: LUCENE-8298
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8298
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 7.4, master (8.0)
>            Reporter: Simon Willnauer
>            Priority: Major
>             Fix For: 7.4, master (8.0)
>
>         Attachments: LUCENE-8298.patch, LUCENE-8298.patch, LUCENE-8298.patch, 
> LUCENE-8298.patch, LUCENE-8298.patch
>
>
>  Today once a document has a value in a certain DV field this values
>     can only be changed but not removed. While resetting / removing a value
>     from a field is certainly a corner case it can be used to undelete a
>     soft-deleted document unless it's merged away.
>     This allows to rollback changes without rolling back to another 
> commitpoint
>     or trashing all uncommitted changes. In certain cenarios it can be used to
>     "repair" history of documents in distributed systems.



--
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