| Package | Description |
|---|---|
| org.elasticsearch.index.engine | |
| org.elasticsearch.index.shard |
| Modifier and Type | Class and Description |
|---|---|
class |
InternalEngine |
class |
ShadowEngine
ShadowEngine is a specialized engine that only allows read-only operations
on the underlying Lucene index.
|
| Modifier and Type | Method and Description |
|---|---|
Engine |
EngineFactory.newReadOnlyEngine(EngineConfig config) |
Engine |
InternalEngineFactory.newReadOnlyEngine(EngineConfig config) |
Engine |
EngineFactory.newReadWriteEngine(EngineConfig config,
boolean skipTranslogRecovery) |
Engine |
InternalEngineFactory.newReadWriteEngine(EngineConfig config,
boolean skipTranslogRecovery) |
| Modifier and Type | Field and Description |
|---|---|
protected AtomicReference<Engine> |
IndexShard.currentEngineReference |
| Modifier and Type | Method and Description |
|---|---|
Engine |
IndexShard.engine() |
protected Engine |
IndexShard.engineUnsafe()
NOTE: returns null if engine is not yet started (e.g.
|
protected Engine |
IndexShard.newEngine(boolean skipTranslogRecovery,
EngineConfig config) |
protected Engine |
ShadowIndexShard.newEngine(boolean skipInitialTranslogRecovery,
EngineConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
TranslogRecoveryPerformer.performRecoveryOperation(Engine engine,
Translog.Operation operation,
boolean allowMappingUpdates)
Performs a single recovery operation.
|
int |
TranslogRecoveryPerformer.recoveryFromSnapshot(Engine engine,
Translog.Snapshot snapshot) |
Copyright © 2009–2017. All rights reserved.