lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Restrict number of hits
Date Fri, 10 May 2002 17:42:10 GMT
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

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

View raw message