Re: swapping Lucene's on RAM drive

2008-06-10 Thread Anshum
Hi Tom, Just a suggestion, why don't you try explicitly using tmpfs. (considering you use a unix/linux server. I tried both, RAMDirectory implementation and tmpfs and found the latter more appealing. Firstly, in this case you'll have more control of cleaning up/retaining as per your needs. Also, u

Re: swapping Lucene's on RAM drive

2008-06-10 Thread Tom
Thanks for reacting Anshum, I also posted this on the Compass forum, but I was not sure where the responsibility was. But your information did give me a good start. From the Compass' RAMDirectoryStore source code: "uses org.apache.lucene.store.RAMDirectory" So appearantly I use two separate

Re: swapping Lucene's on RAM drive

2008-06-10 Thread Anshum
Hi Tom, perhaps this is regarding Compass and you would have wanted to post this query there. In case you are looking and asking about running 2 instances of lucene on the machine with 2 separate indexes in RAM, could you specify : * Do you use tmpfs or do you load it using the RamDirectory class?