lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hu andy" <andyh...@gmail.com>
Subject Re: Consult some information about adding index while searching
Date Fri, 28 Jul 2006 02:04:01 GMT
Yes, I have closed IndexWriter.  But it doesn't work.

2006/7/27, Michael McCandless <lucene@mikemccandless.com>:
>
>
> > 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message