The instance of a RAM based Directory
The instance of a RAM based Directory
Calls the provided function with an instance of an Option[DirectoryReader] that gets created from the current Lucene Directory object.
Calls the provided function with an instance of an Option[DirectoryReader] that gets created from the current Lucene Directory object. When the parameter is None, it means that the index has not been created yet, or it's corrupted.
Calls the provided function with an instance of an Option[IndexSearcher] that gets created from the current Lucene Directory object.
Calls the provided function with an instance of an Option[IndexSearcher] that gets created from the current Lucene Directory object. When the parameter is None, it means that the index has not been created yet, or it's corrupted.
A LuceneDirectory that uses a RAM based directory to store the index