"Martin Spamer" wrote: > I generate my index to the file system and load that index into a > RAMDirectory for speed. If my indexer fails the directory based index > can be left in an inadequate state for my needs. I therefore wish to > flush the current index from the RAMDirectory back to the File system. > The RAMDirectory class doesn't seem to support this feature. Is this > possible and can anybody give me some pointers ?
As of Lucene 2.1, there is a static Directory.copy method that you could use to copy the full contents of your RAMDirectory back to an FSDirectory? Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]