Yes, I have closed IndexWriter.  But it doesn't work.

2006/7/27, Michael McCandless <[EMAIL PROTECTED]>:


> I met this problem: when searching,  I add documents to index. Although
I
> instantiates a new IndexSearcher,  I can't retrieve the newly added
> documents. I have to close the program and enter the program, then it
will
> be ok.

Did you close your IndexWriter (so it flushes all changes to disk)
before instantiating a new IndexSearcher?

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to