lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Re: Index in RAM - is it realy worthy?
Date Mon, 22 Nov 2004 17:23:40 GMT
For the Lucene book I wrote some test cases that compare FSDirectory
and RAMDirectory.  What I found was that with certain settings
FSDirectory was almost as fast as RAMDirectory.  Personally, I would
push FSDirectory and hope that the OS and the Filesystem do their share
of work and caching for me before looking for ways to optimize my code.


--- wrote:

> I did following test:
> I created  the RAM folder on my Red Hat box and copied   c. 1Gb of
> indexes
> there.
> I expected the queries to run much quicker.
> In reality it was even sometimes slower(sic!)
> Lucene has it's own RAM disk functionality. If I implement it, would
> it
> bring any benefits?
> Thanks in advance
> J.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message