lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenelist2...@danielnaber.de>
Subject Re: Lucene search performance: linear?
Date Tue, 05 Dec 2006 08:21:30 GMT
On Tuesday 05 December 2006 03:49, Zhang, Lisheng wrote:

> I found that search time is about linear: 2nd time is about 2 times
> longer than 1st query.

What exactly did you measure, only the search() or also opening the 
IndexSearcher? The later depends on index size, thus you shouldn't re-open 
it for every search.

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
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