lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dino Korah" <>
Subject TopDocCollector & Paging
Date Wed, 17 Sep 2008 11:37:06 GMT
Hello All,
Anyone has tried  this?
My UI has a requirement to show total number of results and then show
results in pages. How do I do that with TopDocCollector, without having to
run search() twice, one to get the total number of hits and then the next
one to get the page being displayed. (like the
In my case I am to search on a few hundred million document index; scoring
is expensive.
Many thanks,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message