RE: Reloading RAM Directory from updated FS Directory

2009-06-12 Thread Diamond, Greg
ng an IndexSearcher using the directory path. Uwe > Diamond, Greg wrote: > > Hi All - > > > > What is the best way to load a RAM Directory from a FS Directory, and > periodically reload the RAM Directory to pick up new documents? > > > > The scenario I have is I

RE: Reloading RAM Directory from updated FS Directory

2009-06-10 Thread Diamond, Greg
open(), which is much faster than reopening > the > > index in complete. > > > > Kay Kay: Instantiating an IndexSearcher on top of a IndexReader costs > > nothing (its just a wrapper around the IndexReader). The costly part is > > opening the IndexReader. So using reope

Reloading RAM Directory from updated FS Directory

2009-06-09 Thread Diamond, Greg
Hi All - What is the best way to load a RAM Directory from a FS Directory, and periodically reload the RAM Directory to pick up new documents? The scenario I have is I create several large directories which I create to a file system, then load them into ram for faster searching. They takes seve