[
https://issues.apache.org/jira/browse/LUCENE-8297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465855#comment-16465855
]
ASF subversion and git services commented on LUCENE-8297:
---------------------------------------------------------
Commit 48a2138e899bca0b8a8485fb7e490a9dc943d997 in lucene-solr's branch
refs/heads/branch_7x from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=48a2138 ]
LUCENE-8297: Add IW#tryUpdateDocValues(Reader, int, Fields...)
IndexWriter can update doc values for a specific term but this might
affect all documents containing the term. With tryUpdateDocValues
users can update doc-values fields for individual documents. This allows
for instance to soft-delete individual documents.
The new method shares most of it's code with tryDeleteDocuments.
> Add IW#tryUpdateDocValues(Reader, int, Fields...)
> -------------------------------------------------
>
> Key: LUCENE-8297
> URL: https://issues.apache.org/jira/browse/LUCENE-8297
> 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-8297.patch
>
>
> IndexWriter can update doc values for a specific term but this might
> affect all documents containing the term. With tryUpdateDocValues
> users can update doc-values fields for individual documents. This allows
> for instance to soft-delete individual documents.
> The new method shares most of it's code with tryDeleteDocuments.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]