You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by ya...@bloglines.com on 2004/07/28 17:18:53 UTC

When does IndexReader pick up changes?

Hi,

If I do this:

  - open index writer
  - add document
  - open
reader
  - search
  - 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