| Package | Description |
|---|---|
| org.elasticsearch.common.util.concurrent | |
| org.elasticsearch.index.engine | |
| org.elasticsearch.index.shard |
| Modifier and Type | Method and Description |
|---|---|
ReleasableLock |
ReleasableLock.acquire() |
| Modifier and Type | Class and Description |
|---|---|
class |
CreateFailedEngineException |
class |
DeleteByQueryFailedEngineException
Deprecated.
Delete-by-query is removed in 2.0, but we keep this so translog can replay on upgrade.
|
class |
DeleteFailedEngineException |
class |
DocumentAlreadyExistsException |
class |
DocumentMissingException |
class |
DocumentSourceMissingException |
class |
EngineCreationFailureException
An exception indicating that an
Engine creation failed. |
class |
FlushFailedEngineException |
class |
FlushNotAllowedEngineException |
class |
IndexFailedEngineException |
class |
RecoveryEngineException |
class |
RefreshFailedEngineException |
class |
SnapshotFailedEngineException |
class |
VersionConflictEngineException |
| Modifier and Type | Method and Description |
|---|---|
Engine.Searcher |
Engine.acquireSearcher(String source)
Returns a new searcher instance.
|
protected Engine.Searcher |
Engine.acquireSearcher(String source,
boolean maybeWrap) |
abstract void |
Engine.create(Engine.Create create) |
void |
InternalEngine.create(Engine.Create create) |
void |
ShadowEngine.create(Engine.Create create) |
abstract void |
Engine.delete(Engine.Delete delete) |
void |
InternalEngine.delete(Engine.Delete delete) |
void |
ShadowEngine.delete(Engine.Delete delete) |
abstract void |
Engine.delete(Engine.DeleteByQuery delete)
Deprecated.
This was removed, but we keep this API so translog can replay any DBQs on upgrade.
|
void |
InternalEngine.delete(Engine.DeleteByQuery delete)
Deprecated.
This was removed, but we keep this API so translog can replay any DBQs on upgrade.
|
void |
ShadowEngine.delete(Engine.DeleteByQuery delete)
Deprecated.
This was removed, but we keep this API so translog can replay any DBQs on upgrade.
|
abstract Engine.CommitId |
Engine.flush()
Flushes the state of the engine including the transaction log, clearing memory and persisting
documents in the lucene index to disk including a potentially heavy and durable fsync operation.
|
Engine.CommitId |
InternalEngine.flush() |
Engine.CommitId |
ShadowEngine.flush() |
abstract Engine.CommitId |
Engine.flush(boolean force,
boolean waitIfOngoing)
Flushes the state of the engine including the transaction log, clearing memory.
|
Engine.CommitId |
InternalEngine.flush(boolean force,
boolean waitIfOngoing) |
Engine.CommitId |
ShadowEngine.flush(boolean force,
boolean waitIfOngoing) |
abstract void |
Engine.forceMerge(boolean flush,
int maxNumSegments,
boolean onlyExpungeDeletes,
boolean upgrade,
boolean upgradeOnlyAncientSegments)
Triggers a forced merge on this engine
|
void |
InternalEngine.forceMerge(boolean flush,
int maxNumSegments,
boolean onlyExpungeDeletes,
boolean upgrade,
boolean upgradeOnlyAncientSegments) |
void |
ShadowEngine.forceMerge(boolean flush,
int maxNumSegments,
boolean onlyExpungeDeletes,
boolean upgrade,
boolean upgradeOnlyAncientSegments) |
abstract Engine.GetResult |
Engine.get(Engine.Get get) |
Engine.GetResult |
InternalEngine.get(Engine.Get get) |
Engine.GetResult |
ShadowEngine.get(Engine.Get get) |
protected Engine.GetResult |
Engine.getFromSearcher(Engine.Get get) |
abstract boolean |
Engine.index(Engine.Index index) |
boolean |
InternalEngine.index(Engine.Index index) |
boolean |
ShadowEngine.index(Engine.Index index) |
abstract void |
Engine.refresh(String source)
Refreshes the engine for new search operations to reflect the latest
changes.
|
void |
InternalEngine.refresh(String source) |
void |
ShadowEngine.refresh(String source) |
abstract SnapshotIndexCommit |
Engine.snapshotIndex(boolean flushFirst)
Snapshots the index and returns a handle to it.
|
SnapshotIndexCommit |
InternalEngine.snapshotIndex(boolean flushFirst) |
SnapshotIndexCommit |
ShadowEngine.snapshotIndex(boolean flushFirst) |
abstract Engine.SyncedFlushResult |
Engine.syncFlush(String syncId,
Engine.CommitId expectedCommitId)
Attempts to do a special commit where the given syncID is put into the commit data.
|
Engine.SyncedFlushResult |
InternalEngine.syncFlush(String syncId,
Engine.CommitId expectedCommitId) |
org.apache.lucene.search.IndexSearcher |
IndexSearcherWrapper.wrap(EngineConfig engineConfig,
org.apache.lucene.search.IndexSearcher searcher) |
| Constructor and Description |
|---|
InternalEngine(EngineConfig engineConfig,
boolean skipInitialTranslogRecovery) |
| Modifier and Type | Method and Description |
|---|---|
SnapshotIndexCommit |
IndexShard.snapshotIndex(boolean flushFirst) |
Copyright © 2009–2017. All rights reserved.