lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Ye <yuanzhou...@gmail.com>
Subject DocValue update methods don't appear to throw exception if the document doesn't exist
Date Tue, 04 Jul 2017 12:39:26 GMT
Hi,

I'm using Lucene core 6.6.

I noticed an issue that DocValue update methods
(indexWriter.updateNumericDocValue
& indexWriter.updateBinaryDocValue) don't appear to throw exception or
return any error code if the document doesn't exist. Is this intentional? I
don't want to check the existence of the document before each docValue
update.


Kind regards,

Joe

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message