public class LuceneEventIndexSearcher extends java.lang.Object implements EventIndexSearcher
| Constructor and Description |
|---|
LuceneEventIndexSearcher(org.apache.lucene.search.IndexSearcher indexSearcher,
java.io.File indexDirectory,
org.apache.lucene.store.Directory directory,
org.apache.lucene.index.DirectoryReader directoryReader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
decrementUsageCounter() |
java.io.File |
getIndexDirectory() |
org.apache.lucene.search.IndexSearcher |
getIndexSearcher() |
void |
incrementUsageCounter() |
public LuceneEventIndexSearcher(org.apache.lucene.search.IndexSearcher indexSearcher,
java.io.File indexDirectory,
org.apache.lucene.store.Directory directory,
org.apache.lucene.index.DirectoryReader directoryReader)
public org.apache.lucene.search.IndexSearcher getIndexSearcher()
getIndexSearcher in interface EventIndexSearcherpublic java.io.File getIndexDirectory()
getIndexDirectory in interface EventIndexSearcherpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic void incrementUsageCounter()
public void decrementUsageCounter()