lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <paul.elsc...@xs4all.nl>
Subject Re: State in IndexSearcher that is not in IndexReader?
Date Tue, 07 Nov 2006 17:05:26 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message