lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cocula Remi" <rcoc...@sopragroup.com>
Subject RE: closing an IndexSearcher
Date Thu, 20 Jan 2005 12:02:37 GMT
As said n.bulthuis@interpay.nl 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:morus.walter@tanto.de]
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: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message