lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin <>
Subject Updating documents with fields that aren't stored
Date Mon, 04 Oct 2010 18:02:44 GMT
Hi all,

The JavaDocs do not appear to mention that only stored fields persist 
IndexWriter.updateDocument. When opening new readers, from either 
IndexWriter.getReader or, neither TermDocs nor IndexSearcher 
will find terms in fields which weren't stored.

Existing readers, however, do continue to find such terms after updateDocument 
has been called. At best, this is confusing. Is this a defect?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message