lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Teller" <klaus.tel...@gmx.net>
Subject fast Result Count
Date Tue, 09 Feb 2010 16:44:55 GMT
Hi Guys,

Is there a way to speed up couting documents that satisfy a search query other than by using
TopDocCollector.getTotalHits()? 

For instance, if there are 1000000 documents satisfying my search query, how can I count them
without loading them all in memory?

Thanks,
Klaus.
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

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


Mime
View raw message