: entry for "apple" ? Basically I'd like to make sure that the entire : inverted index (or as much as possible) is preloaded into memory, so if I
if you've got enough ram, and you really want everything loaded into memory, you can allways use a RAMDirectory. even if you want your index stored on disk for persistence, you can open a RAMDirectory that mirrors an FSDirectory and use the RAMDirectory for searching... http://lucene.apache.org/java/docs/api/org/apache/lucene/store/RAMDirectory.html ...but i have no idea wether this is acctually faster then just trusting your OS's filesystem cache. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]