If (and only if) the fields you need to update are single-valued, docValues=true, indexed=false, you can do in-place update of the DV field only.
Otherwise, you'll probably have to split the docs up. The question is whether you have evidence that reindexing is too expensive. If you do need to split the docs up, you might find some of the streaming capabilities useful for join kinds of operations of other join options don't work out or you just prefer the streaming alternative. Best, Erick On Wed, Feb 13, 2019 at 11:43 AM Luís Filipe Nassif <lfcnas...@gmail.com> wrote: > > Hi all, > > Lucene 7 still deletes and re-adds docs when an update operation is done, > as I understood. > > When docs have dozens of fields and one of them is large text content > (extracted by Tika) and if I need to update some other small fields, what > is the best approach to not reindex that large text field? > > Any better way than splitting the index in two (metadata and text indexes) > and using ParallelCompositeReader for searches? > > Thanks in advance, > Luis --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org