On Dec 6, 2007, at 9:02 PM, 游泳池的鱼 wrote:
Hi, it's my first time to use lucene maillist. I have problem that
when I
add a document with IndexWriter , it searchable for the IndexSearcher
instance which is creat before the document flush to index? if
lucene can
not do this,any suggest to solve this problem?
Yes... recreate a new IndexSearcher after adding documents :)
That's the Lucene Way.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]