lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AlexElba <>
Subject TopDocCollector vs Hits: TopDocCollector slowing....
Date Wed, 04 Feb 2009 01:37:04 GMT


I was using lucene 2.3.2 with hits and switch to lucene 2.4.0 and now I am
using TopDocCollector.

I have two queries which are running against the same index.
One query is returning 80bytes information other one is returning 2000bytes

With old Hits the query which was returning smaller data was faster which
has bigger data was slower.
After I change to TopDocCollector both big and small once returning same

Searcher is exactly the same and queries are the same only difference is in
one place I was using Hits in other TopDocCollector 

Who has any idea why, and how can I fix this?
View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message