Interface LuceneIndexManager
- All Superinterfaces:
org.hibernate.search.engine.backend.index.IndexManager
public interface LuceneIndexManager
extends org.hibernate.search.engine.backend.index.IndexManager
-
Method Summary
Modifier and TypeMethodDescriptionbackend()longcomputeSizeInBytesAsync(org.hibernate.search.engine.backend.work.execution.OperationSubmitter operationSubmitter) Methods inherited from interface org.hibernate.search.engine.backend.index.IndexManager
analyze, analyzeAsync, descriptor, normalize, normalizeAsync, unwrap
-
Method Details
-
backend
LuceneBackend backend()- Specified by:
backendin interfaceorg.hibernate.search.engine.backend.index.IndexManager
-
indexingAnalyzer
Analyzer indexingAnalyzer()- Returns:
- The analyzer used when indexing. This analyzer behaves differently for each field, delegating to the analyzer configured in the mapping.
-
searchAnalyzer
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(org.hibernate.search.engine.backend.work.execution.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.
-