Hi

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.


--
Ian.



On Tue, Mar 24, 2009 at 8:42 AM, Paul Taylor <paul_t...@fastmail.fm> 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: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to