Li Li [fancye...@gmail.com] wrote:
> I am using mmap fs directory in lucene. My index is small (about 3GB
> in disk) and I have plenty of memory available. The problem is that
> when the term is first queried, it's slow. How can I "load" all
> directory into memory?
Yes. One of the smart things ab
Hi,
the first searches are always slower, which is not only caused by the FS cache.
In general, searchers must be warmed, so you execute a set of search queries or
calculate facets initially after opening (or reopening) an IndexReader. This
will have the side effect of also warming the disk cac
"Indin _bull?
Sent from my BlackBerry® wireless device
-Original Message-
From: Toke Eskildsen
Date: Wed, 3 Dec 2014 08:25:04
To: java-user@lucene.apache.org
Reply-To: java-user@lucene.apache.org
Subject: RE: how to "load" mmap directory into memory?
Li Li [fancye...@g
Canuaddalotofnonsenseorshallwebedirect!?!?! X
Sent from my BlackBerry® wireless device
-Original Message-
From: "Uwe Schindler"
Date: Wed, 3 Dec 2014 11:54:27
To:
Reply-To: java-user@lucene.apache.org
Subject: RE: how to "load" mmap directory into memory?
Hi,
th