On Tuesday 07 November 2006 09:51, Claes Holmerson wrote: > Sorry for asking the obvious, but I just want to be sure: Is there any > state associated with IndexSearcher that is not in the underlying > IndexReader (if created with IndexReader as argument). Sharing and > reusing IndexReader would be just as good as reusing IndexSearcher, > performance-wise, wouldn't it?
Currently IndexSearcher is indeed lightweight. But one can use IndexSearcher.getIndexReader() and reuse an IndexSearcher anyway. Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]