Hi,


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



Thanks.



--- Lucene Users List" <[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to