Re: how lucene search works in memory

2010-03-23 Thread Erick Erickson
First, I'd be sure you need to. See the following: http://wiki.apache.org/lucene-java/ImproveSearchingSpeed A lot of very bright people have worked very hard at optimizing Lucene's search *and* the op system caching. I'd carefully examine m

Re: how lucene search works in memory

2010-03-23 Thread Anshum
Hi Suman, I couldn't find a link but talking about approaches to load an index into memory would be : 1. Create a tmpfs partition and copy your index into the partition, open the index reader/searcher from the tmpfs. * You would have to handle the copying/management of indexes in this case. * I

how lucene search works in memory

2010-03-23 Thread suman . holani
Hello, I am trying for optimizing the searching by putting indexes onto memory. RAMDirectory is not option for me, as I am transferring indexes built to slave system to use. So if u could let me know that how to place my indexes onto memory(m thinking of using mmap) .For this I wanna know how exa