[ https://issues.apache.org/jira/browse/LUCENE-8297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer updated LUCENE-8297: ------------------------------------ Attachment: LUCENE-8297.patch > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org