Does that actually work?

I haven't tested the impact, but it certainly would cause all of the index files to be read, and thus cached by the OS (depending on how much RAM was available). And this came from a big commercial user of Lucene. I think they were running on Linux (something like FC4).

-- Ken


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/


--
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"

Reply via email to