lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: Can you create a RAM index from a file index
Date Tue, 24 Mar 2009 09:55:14 GMT

You can load an existing index into a RAMDirectory using one of the
constructors that takes an existing index.  I believe that a RAM index
will be the same size as a file based index.

MMapDirectory is another possibility.


On Tue, Mar 24, 2009 at 8:42 AM, Paul Taylor <> wrote:
> Hi
> Ive built some file based indexes based on data in a database, and it took
> quite some time.
> I am interested in trying to use RAM based indexes instead of file based
> indexes to compare search performance but its going to take some time to
> rebuild the index from the original database, isnt it possible to rebuild
> the index from the file based index ?
> How big is a RAM index compared to File based index, I assumming its
> slightly smaller because no files are created ?
> thanks Paul

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

View raw message