lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Engels" <reng...@ix.netcom.com>
Subject RE: Performance for search when I need all Hits
Date Mon, 19 Jan 2004 17:05:40 GMT
I have thought that as well, but nobody responded. Also, it seems that the
hits size should dynamically increase to avoid multiple calls into
SearchTermDocs for the same term.

R

-----Original Message-----
From: Hanjo Riege [mailto:hanri@cataloom.com]
Sent: Monday, January 19, 2004 9:35 AM
To: lucene-dev@jakarta.apache.org
Subject: Performance for search when I need all Hits


Hi all,

i have a question about the performance:

if i need all the results (about 2000 Hits) of a search and read them
from first to last then it needs about 3000 ms.

After a short look at the method Hits.getMoreDocs(int i) i decided to
read the last doc first. Now it needs only 1000 ms to read them all.

It seems that the Method is not optimized for getting all the results.

Is this a point for improvement or do i miss something?

regards

Hanjo


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


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