Re: How to close the wrapped directory implementation

2010-09-20 Thread Sanne Grinovero
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

How to close the wrapped directory implementation

2010-09-17 Thread 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 index, if I close the IndexWriter then t