As said [EMAIL PROTECTED] I was openning multiple instances of IndexSearcher.

Now the IndexReader seems to be closed but I am surprised that the searching 
over this closed index Reader still work, that was the original subject of this 
thread.


-----Message d'origine-----
De : Morus Walter [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 20 janvier 2005 12:52
À : Lucene Users List
Objet : RE: closing an IndexSearcher


Hi Cocula,
> 
> And now here is a code that works : the only differance with the previous one 
> is the QueryParser call before new IndexWriter. The QueryParser .parse 
> statement seems to close the IndexReader but I really can't figure how.
>  
I rather suspect your OS/filesystem to delay the effect of the close.
QueryParser does not even know about your searcher.

What OS are you using?

Morus

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


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

Reply via email to