2010/9/18 Pulkit Singhal :
> With RAMDirectory we have the option of providing another Directory
> implementation such as FSDirectory that can be wrapped and loaded into
> memory:
>
> Directory directory = new RAMDirectory(FSDirectory.open(new
> File(fileDirectoryName)));
>
> But after building the
With RAMDirectory we have the option of providing another Directory
implementation such as FSDirectory that can be wrapped and loaded into
memory:
Directory directory = new RAMDirectory(FSDirectory.open(new
File(fileDirectoryName)));
But after building the index, if I close the IndexWriter then t