lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject RE: Updating documents with fields that aren't stored
Date Mon, 04 Oct 2010 18:05:36 GMT
This is not a defect: <http://wiki.apache.org/lucene-java/LuceneFAQ#Does_Lucene_allow_searching_and_indexing_simultaneously.3F>.

> -----Original Message-----
> From: Justin [mailto:crynax@yahoo.com]
> Sent: Monday, October 04, 2010 2:03 PM
> To: java-user@lucene.apache.org
> Subject: Updating documents with fields that aren't stored
> 
> 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 IndexReader.open, 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?
> 
> Thanks,
> Justin
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org

Mime
View raw message