Package | Description |
---|---|
org.elasticsearch.index.engine | |
org.elasticsearch.index.translog |
Modifier and Type | Method and Description |
---|---|
TranslogConfig |
EngineConfig.getTranslogConfig()
Returns the translog config for this engine
|
Constructor and Description |
---|
EngineConfig(ShardId shardId,
ThreadPool threadPool,
ShardIndexingService indexingService,
Settings indexSettings,
IndicesWarmer warmer,
Store store,
SnapshotDeletionPolicy deletionPolicy,
org.apache.lucene.index.MergePolicy mergePolicy,
MergeSchedulerConfig mergeSchedulerConfig,
org.apache.lucene.analysis.Analyzer analyzer,
org.apache.lucene.search.similarities.Similarity similarity,
CodecService codecService,
Engine.FailedEngineListener failedEngineListener,
TranslogRecoveryPerformer translogRecoveryPerformer,
org.apache.lucene.search.QueryCache queryCache,
org.apache.lucene.search.QueryCachingPolicy queryCachingPolicy,
IndexSearcherWrappingService wrappingService,
TranslogConfig translogConfig)
Creates a new
EngineConfig |
Modifier and Type | Method and Description |
---|---|
TranslogConfig |
Translog.getConfig() |
Modifier and Type | Method and Description |
---|---|
static void |
Translog.upgradeLegacyTranslog(ESLogger logger,
TranslogConfig config)
This method is used to upgarde a pre 2.0 translog structure to the new checkpoint based structure.
|
Constructor and Description |
---|
Translog(TranslogConfig config)
Creates a new Translog instance.
|
Copyright © 2009–2016. All rights reserved.