Any support for updateDocValues?

I've been hunting through the latest documentation and I cannot find any reference to the use of:

updateDocValues() -- https://lucene.apache.org/core/6_0_1/core/org/apache/lucene/index/IndexWriter.html#updateDocValues-org.apache.lucene.index.Term-org.apache.lucene.document.Field...-

which allows for doc values to be updated without deleting and reindexing the entire document.

Can anyone provide a pointer or some info?

Thanks
Dan

1 Like

We don't use this feature in Elasticsearch. Instead we provide a way to apply partial updates to documents but this requires to reindex the entire document. The doc_values update is a complex feature that requires a lot of synchronizations and indirections so we're not using it at the moment. Though we're actively following this feature in Lucene and we try to revisit our statement every time a new improvement is made in this area. For the time being we think that the cost and complexity to handle this kind of update is too high compared to simply reindexing the document.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.