Package org.opensearch.index.engine
Class EngineConfig.Builder
java.lang.Object
org.opensearch.index.engine.EngineConfig.Builder
- Enclosing class:
EngineConfig
Builder for EngineConfig class
- Opensearch.internal:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanalyzer
(org.apache.lucene.analysis.Analyzer analyzer) build()
circuitBreakerService
(org.opensearch.core.indices.breaker.CircuitBreakerService circuitBreakerService) codecService
(CodecService codecService) eventListener
(Engine.EventListener eventListener) externalRefreshListener
(List<org.apache.lucene.search.ReferenceManager.RefreshListener> externalRefreshListener) flushMergesAfter
(org.opensearch.common.unit.TimeValue flushMergesAfter) globalCheckpointSupplier
(LongSupplier globalCheckpointSupplier) indexSettings
(IndexSettings indexSettings) indexSort
(org.apache.lucene.search.Sort indexSort) internalRefreshListener
(List<org.apache.lucene.search.ReferenceManager.RefreshListener> internalRefreshListener) leafSorter
(Comparator<org.apache.lucene.index.LeafReader> leafSorter) mergePolicy
(org.apache.lucene.index.MergePolicy mergePolicy) primaryTermSupplier
(LongSupplier primaryTermSupplier) queryCache
(org.apache.lucene.search.QueryCache queryCache) queryCachingPolicy
(org.apache.lucene.search.QueryCachingPolicy queryCachingPolicy) readOnlyReplica
(boolean isReadOnlyReplica) retentionLeasesSupplier
(Supplier<RetentionLeases> retentionLeasesSupplier) shardId
(org.opensearch.core.index.shard.ShardId shardId) similarity
(org.apache.lucene.search.similarities.Similarity similarity) startedPrimarySupplier
(BooleanSupplier startedPrimarySupplier) threadPool
(ThreadPool threadPool) tombstoneDocSupplier
(EngineConfig.TombstoneDocSupplier tombstoneDocSupplier) translogConfig
(TranslogConfig translogConfig) translogDeletionPolicyFactory
(TranslogDeletionPolicyFactory translogDeletionPolicyFactory) translogFactory
(TranslogFactory translogFactory) warmer
(Engine.Warmer warmer)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shardId
-
threadPool
-
indexSettings
-
warmer
-
store
-
mergePolicy
-
analyzer
-
similarity
-
codecService
-
eventListener
-
queryCache
-
queryCachingPolicy
public EngineConfig.Builder queryCachingPolicy(org.apache.lucene.search.QueryCachingPolicy queryCachingPolicy) -
translogConfig
-
flushMergesAfter
-
externalRefreshListener
public EngineConfig.Builder externalRefreshListener(List<org.apache.lucene.search.ReferenceManager.RefreshListener> externalRefreshListener) -
internalRefreshListener
public EngineConfig.Builder internalRefreshListener(List<org.apache.lucene.search.ReferenceManager.RefreshListener> internalRefreshListener) -
indexSort
-
circuitBreakerService
public EngineConfig.Builder circuitBreakerService(org.opensearch.core.indices.breaker.CircuitBreakerService circuitBreakerService) -
globalCheckpointSupplier
-
retentionLeasesSupplier
public EngineConfig.Builder retentionLeasesSupplier(Supplier<RetentionLeases> retentionLeasesSupplier) -
-
tombstoneDocSupplier
public EngineConfig.Builder tombstoneDocSupplier(EngineConfig.TombstoneDocSupplier tombstoneDocSupplier) -
translogDeletionPolicyFactory
public EngineConfig.Builder translogDeletionPolicyFactory(TranslogDeletionPolicyFactory translogDeletionPolicyFactory) -
readOnlyReplica
-
startedPrimarySupplier
-
translogFactory
-
leafSorter
-
build
-