Yes, it works for Lucene.  I've used this in both in Simpy.com and 
Technorati.com contexts.
You can see how this works by running something like `vmstat 2' for a bit, then 
openning an IndexSearcher and doing searches, and them doing to `cat' trick 
while watching vmstat output.

Otis

----- Original Message ----
From: WHIRLYCOTT <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Wednesday, September 27, 2006 11:46:27 PM
Subject: Re: How much ram can Solr use?

Does that actually work?

phil.

On Sep 27, 2006, at 11:27 PM, Ken Krugler wrote:

> One trick I've heard is to do cat <path to Lucene index directory>/ 
> _*.* > /dev/null to force all of the index data into the OS cache.


--
                                    Whirlycott
                                    Philip Jacob
                                    [EMAIL PROTECTED]
                                    http://www.whirlycott.com/phil/





Reply via email to