lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Consult some information about adding index while searching
Date Thu, 27 Jul 2006 10:54:23 GMT

> 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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message