Interface MultiConnection
- All Known Implementing Classes:
- MultiReaderBasedConnection
public interface MultiConnection
This class imitates lucene connection, but works for arbitrary subset of indexes
- Since:
- 7.9.0
- 
Method SummaryModifier and TypeMethodDescriptionwithReader(EnumSet<SearchIndex> indexes, ILuceneConnection.ReaderAction action) voidwithSearch(EnumSet<SearchIndex> indexes, ILuceneConnection.SearcherAction action) <T> TwithSearcher(EnumSet<SearchIndex> indexes, long searchToken, ILuceneConnection.SearcherWithTokenAction<T> action) <T> TwithSearcher(EnumSet<SearchIndex> indexes, ILuceneConnection.SearcherWithTokenAction<T> action) 
- 
Method Details- 
withReaderObject withReader(EnumSet<SearchIndex> indexes, ILuceneConnection.ReaderAction action) throws LuceneException - Throws:
- LuceneException
 
- 
withSearchvoid withSearch(EnumSet<SearchIndex> indexes, ILuceneConnection.SearcherAction action) throws LuceneException - Throws:
- LuceneException
 
- 
withSearcher<T> T withSearcher(EnumSet<SearchIndex> indexes, ILuceneConnection.SearcherWithTokenAction<T> action) 
- 
withSearcher<T> T withSearcher(EnumSet<SearchIndex> indexes, long searchToken, ILuceneConnection.SearcherWithTokenAction<T> action) throws SearchTokenExpiredException - Throws:
- SearchTokenExpiredException
 
 
-