Interface LuceneIndexManager
-
- All Superinterfaces:
IndexManager
- All Known Implementing Classes:
LuceneIndexManagerImpl
public interface LuceneIndexManager extends IndexManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LuceneBackendbackend()longcomputeSizeInBytes()CompletionStage<Long>computeSizeInBytesAsync()CompletionStage<Long>computeSizeInBytesAsync(OperationSubmitter operationSubmitter)org.apache.lucene.analysis.AnalyzerindexingAnalyzer()org.apache.lucene.analysis.AnalyzersearchAnalyzer()-
Methods inherited from interface org.hibernate.search.engine.backend.index.IndexManager
descriptor, unwrap
-
-
-
-
Method Detail
-
backend
LuceneBackend backend()
- Specified by:
backendin interfaceIndexManager- Returns:
- The backend in which this index manager is defined.
-
indexingAnalyzer
org.apache.lucene.analysis.Analyzer indexingAnalyzer()
- Returns:
- The analyzer used when indexing. This analyzer behaves differently for each field, delegating to the analyzer configured in the mapping.
-
searchAnalyzer
org.apache.lucene.analysis.Analyzer searchAnalyzer()
- Returns:
- The analyzer used in search queries. This analyzer behaves differently for each field, delegating to the analyzer configured in the mapping.
-
computeSizeInBytes
long computeSizeInBytes()
- Returns:
- The size of the index on its storage support, in bytes.
-
computeSizeInBytesAsync
CompletionStage<Long> computeSizeInBytesAsync()
- Returns:
- A future that will ultimately provide the size of the index on its storage support, in bytes.
-
computeSizeInBytesAsync
@Incubating CompletionStage<Long> computeSizeInBytesAsync(OperationSubmitter operationSubmitter)
- Parameters:
operationSubmitter- How to handle request to submit operation when the queue is full.- Returns:
- A future that will ultimately provide the size of the index on its storage support, in bytes.
-
-