Is there any way to restrict the number of hits returned by a query?
I would like to have the functionality of getting only the X last
documents which respect to a given query condition. I've seen
something on making an HitCollector class, but if there is a plenty
more than X documents which respect the condition, that doesn't mean
that they would all be processed? How can I avoid that?
Thanks in advance,
Hélder Ribeiro
__________________________________________________________
Queima das Fitas do Porto 5 a 12 de Maio
Reserve bilhetes online em http://queima2002.aeiou.pt
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
I would like to have the functionality of getting only the X last
documents which respect to a given query condition. I've seen
something on making an HitCollector class, but if there is a plenty
more than X documents which respect the condition, that doesn't mean
that they would all be processed? How can I avoid that?
Thanks in advance,
Hélder Ribeiro
__________________________________________________________
Queima das Fitas do Porto 5 a 12 de Maio
Reserve bilhetes online em http://queima2002.aeiou.pt
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>