Re: Update Field on Many Docs

2018-05-08 Thread Matt Hicks
Let me revise my question.  After reading through the source code for Lucene a bit more, I realize that using updateDocValues isn't really an option.  This leaves me with querying all the data, modifying each document, and replacing the original.  Not as efficient as I was hoping for, but sufficien

Update Field on Many Docs

2018-05-08 Thread Matt Hicks
I'm trying to write an efficient update to match with a Query and update all matches with specific fields (while maintaining the other previously set fields on each document).  I see IndexWriter.updateDocValues appears to be the closest solution, but it takes a Term and I'd prefer to use a Query.