lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: RE : ReSorting
Date Tue, 25 May 2004 14:41:58 GMT
On May 25, 2004, at 10:19 AM, Rasik Pandey wrote:
>
>>> Why not just re-run a search with a different sort?
>>> but if a quasi snap-shot of a set of results needed to be
>>> kept, it wouldn’
>>> t solve the problem.
>>
>> If you kept hold of the same IndexReader, as I understand it,
>> changes to
>> the index would not be reflected.
>
> This seems like it would have some serious performance implications.

No, it doesn't have serious performance implications to keep an 
IndexReader (or IndexSearcher as the case may be) around.  And in fact 
it is how you'd perform different sorts on the same Query and ensure 
you get the same set of hits back.

	Erik


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


Mime
View raw message