lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hicks <m...@outr.com>
Subject Update Field on Many Docs
Date Tue, 08 May 2018 14:02:53 GMT
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.  Is there any way
to accomplish this in Lucene without querying and updating each entry manually?
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message