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? One solution is using many query to "warm" it up. But I can't query all terms and maybe some terms are still not in memory. Any other methods? If I write a script(or java program) to read the index file, will it load all into memory if I have enough memory?
--------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org