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 100 documents satisfying my search query, how
can I count them without loading them all in memory?
Thanks,
Klaus.
--
Jetzt kost
Hi,
I've read that it is possible to update the index while another thread has a
reader open.
Now let's say the reader is trying to reopen the index (using its reopen
method) and at the very same time, the write its committing its 500MB changes
to the index. My question is, what happens in th