Re: backup RAMDirectory to file

2008-03-21 Thread roger dimitri
uld try: > > IndexWriter writer = new IndexWriter(fileDirectory, ...) > writer.addIndexes(ramDir) > > -Grant > > On Mar 20, 2008, at 2:47 PM, roger dimitri wrote: > >> Hi, >> I am using the Directory class's copy method to periodically sync >> my RAM b

backup RAMDirectory to file

2008-03-20 Thread roger dimitri
Hi, I am using the Directory class's copy method to periodically sync my RAM based index to a file based index that's supposed to serve as a hot backup. I want to know if this is the right way to maintain a periodic backup of my RAM based index and, if Yes, then is it reliable in a production

MapReduce usage with Lucene Indexing

2008-01-24 Thread roger dimitri
Hi, I am very new to Lucene & Hadoop, and I have a project where I need to use Lucene to index some input given either as a a huge collection of Java objects or one huge java object. I read about Hadoop's MapReduce utilities and I want to leverage that feature in my case described above.