You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Cheng <zh...@gmail.com> on 2011/12/31 09:31:28 UTC

How to save in-memory index into disk

Hi,

I am creating a RAMDirectory based upon a folder on disk. After doing a lot
of adding, deleting, or updating, I want to flush the changes to the disk.
However, the flush() function is not available for 3.5. How can I save the
changes to disk?

Thanks!