public interface LuceneIndexNode extends org.apache.jackrabbit.oak.plugins.index.search.IndexNode
Modifier and Type | Method and Description |
---|---|
LuceneIndexDefinition |
getDefinition() |
int |
getIndexNodeId() |
@Nullable LuceneIndexStatistics |
getIndexStatistics() |
@Nullable org.apache.jackrabbit.oak.plugins.index.lucene.writer.LuceneIndexWriter |
getLocalWriter() |
@Nullable org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester |
getLookup() |
java.util.List<org.apache.jackrabbit.oak.plugins.index.lucene.reader.LuceneIndexReader> |
getNRTReaders() |
java.util.List<org.apache.jackrabbit.oak.plugins.index.lucene.reader.LuceneIndexReader> |
getPrimaryReaders() |
org.apache.lucene.search.IndexSearcher |
getSearcher() |
@Nullable org.apache.lucene.store.Directory |
getSuggestDirectory() |
void |
refreshReadersOnWriteIfRequired() |
release
LuceneIndexDefinition getDefinition()
getDefinition
in interface org.apache.jackrabbit.oak.plugins.index.search.IndexNode
org.apache.lucene.search.IndexSearcher getSearcher()
@Nullable @Nullable LuceneIndexStatistics getIndexStatistics()
getIndexStatistics
in interface org.apache.jackrabbit.oak.plugins.index.search.IndexNode
java.util.List<org.apache.jackrabbit.oak.plugins.index.lucene.reader.LuceneIndexReader> getPrimaryReaders()
@Nullable @Nullable org.apache.lucene.store.Directory getSuggestDirectory()
java.util.List<org.apache.jackrabbit.oak.plugins.index.lucene.reader.LuceneIndexReader> getNRTReaders()
@Nullable @Nullable org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester getLookup()
int getIndexNodeId()
getIndexNodeId
in interface org.apache.jackrabbit.oak.plugins.index.search.IndexNode
@Nullable @Nullable org.apache.jackrabbit.oak.plugins.index.lucene.writer.LuceneIndexWriter getLocalWriter() throws java.io.IOException
java.io.IOException
void refreshReadersOnWriteIfRequired()
Copyright © 2010 - 2020 Adobe. All Rights Reserved