You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2018/05/06 16:09:00 UTC

[jira] [Commented] (LUCENE-8297) Add IW#tryUpdateDocValues(Reader, int, Fields...)

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

Simon Willnauer commented on LUCENE-8297:
-----------------------------------------

[~mikemccand] can you take a look

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org