On Mon, 2014-06-23 at 13:53 +0200, Jamie wrote:
> if (startIdx==0) {
> topDocs =
> indexSearcher.search(query,queryFilter,searchResult.getPageSize(), sort);
> } else {
> topDocs = indexSearcher.searchAfter(p.startScoreDoc, query,
> queryFilter, searchResult.getPageSize(),sort);
> }
> The page size is set to 50,000.
Okay, that was strange. 50K is fine for a heap. How many concurrent
searches are you running?
> What are the best JVM collector settings for Lucene searching? We're
> tried various options and they don't seem to make much difference.
I am no expert there, but I will advice you to check how much free
memory your JVM has when it is running searches. GC-tweaks does not help
much if the JVM is nearly our of memory.
- Toke Eskildsen, State and University Library, Denmark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]