lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yahootintin.1247...@bloglines.com
Subject Re: When does IndexReader pick up changes?
Date Wed, 28 Jul 2004 23:49:22 GMT
Hi,

Does anyone know if the IndexWriter has to be closed for an IndexReader
to pick up the changes?

Thanks.

--- Lucene Users List" <lucene-user@jakarta.apache.org
wrote:
Hi,
> 
> If I do this:
> 
>   - open index writer
>   - add document

>   - open reader
>   - search with reader
>   - close reader
>   - close
writer
> 
> Will the reader pick up the document that 
> was added to the
index since it was opened
> after the document was added?  Or will it 
>
only pick up changes that occur after
> the index writer is closed?
> 
> Thanks for the help!
 

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message