Hello,

I’m using Lucene 2.4.1 and I’m trying to use a custom HitCollector to collect
only the first N hits (not the best hits) for performance.  I saw another
e-mail in this group where they mentioned writing a HitCollector which throws
an exception after N hits to do this.  So I tried this approach and it seems
as if my HitCollector isn’t called until the hits have been determined, i.e.
the time until my HitCollector is called is dependent on the number of hits
and my performance is no better than when I was not using a custom
HitCollector.  Does anyone have insight into my problem?  The person who tried
approach mentioned performance improved significantly for him.

Regards,
Len


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to