lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wiegand <>
Subject overall number of hits
Date Fri, 11 Mar 2011 13:41:37 GMT

I am currently mainly interested in the overall number of matches in a 
document collection (several GBs) given a particular query.
At the moment I am not interested in the matching documents themselves; 
just the number would be sufficient.
In previous versions of lucene the Searcher class had a method 
"search(Query query)" but this method is now deprecated.
The alternative methods of "search()" (that are not deprecated) require 
the user to specify the number of topN documents and a filter.
Is there no counterpart for the old plain "search(Query query)"?

Thank you in advance.


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

View raw message