Re: Loading FS index into RAM index

2005-07-09 Thread [EMAIL PROTECTED]
Never mind. I need to read the API more closely. RAMDirectory(directory) is built into lucene and already does the trick with just one line of code. [EMAIL PROTECTED] wrote: I was reading the Lucene book and came across the part where the author detailed how to write index to ram dir and then

Loading FS index into RAM index

2005-07-08 Thread [EMAIL PROTECTED]
I was reading the Lucene book and came across the part where the author detailed how to write index to ram dir and then flush it to file dir. That turned on a light bulb and I want to do bidirectional index loading. Build index in ram, store in file for backup. Then if I have to shutdown the p