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.
Base trait for configuring the Directory of a Lucene index