Interface LuceneAccessor
-
- All Known Implementing Classes:
LuceneConnection
public interface LuceneAccessor
This interface will allow to allow transition from atlassian-bonnie.- Since:
- 8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
void
execute(Consumer<org.apache.lucene.index.IndexWriter> writerAction)
org.apache.lucene.analysis.Analyzer
getAnalyzer()
@Nullable Path
getPath()
org.apache.lucene.search.SearcherLifetimeManager
getSearcherLifetimeManager()
org.apache.lucene.search.SearcherManager
getSearcherManager()
void
reset(Runnable resetAction)
void
snapshot(org.apache.lucene.store.Directory dest)
-
-
-
Method Detail
-
getAnalyzer
org.apache.lucene.analysis.Analyzer getAnalyzer()
-
execute
void execute(Consumer<org.apache.lucene.index.IndexWriter> writerAction)
- Since:
- 8.2
-
getSearcherManager
org.apache.lucene.search.SearcherManager getSearcherManager()
-
getSearcherLifetimeManager
org.apache.lucene.search.SearcherLifetimeManager getSearcherLifetimeManager()
-
snapshot
void snapshot(org.apache.lucene.store.Directory dest) throws IOException
- Throws:
IOException
-
reset
void reset(Runnable resetAction) throws LuceneException
- Throws:
LuceneException
-
close
void close()
-
getPath
@Nullable Path getPath()
-
-