| Package | Description |
|---|---|
| org.elasticsearch.index.engine | |
| org.elasticsearch.index.indexing | |
| org.elasticsearch.index.shard | |
| org.elasticsearch.index.translog |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
Engine.index(Engine.Index index) |
boolean |
InternalEngine.index(Engine.Index index) |
boolean |
ShadowEngine.index(Engine.Index index) |
| Modifier and Type | Method and Description |
|---|---|
Engine.Index |
ShardIndexingService.preIndex(Engine.Index index) |
Engine.Index |
IndexingOperationListener.preIndex(Engine.Index index)
Called before the indexing occurs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ShardIndexingService.postIndex(Engine.Index index,
boolean created) |
void |
IndexingOperationListener.postIndex(Engine.Index index,
boolean created)
Called after the indexing operation occurred.
|
void |
ShardIndexingService.postIndex(Engine.Index index,
Throwable ex) |
void |
IndexingOperationListener.postIndex(Engine.Index index,
Throwable ex)
Called after the indexing operation occurred with exception.
|
void |
ShardIndexingService.postIndexUnderLock(Engine.Index index) |
void |
IndexingOperationListener.postIndexUnderLock(Engine.Index index)
Called after the indexing occurs, under a locking scheme to maintain
concurrent updates to the same doc.
|
Engine.Index |
ShardIndexingService.preIndex(Engine.Index index) |
Engine.Index |
IndexingOperationListener.preIndex(Engine.Index index)
Called before the indexing occurs.
|
| Modifier and Type | Method and Description |
|---|---|
Engine.Index |
IndexShard.prepareIndexOnPrimary(SourceToParse source,
long version,
VersionType versionType,
boolean canHaveDuplicates) |
Engine.Index |
IndexShard.prepareIndexOnReplica(SourceToParse source,
long version,
VersionType versionType,
boolean canHaveDuplicates) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IndexShard.index(Engine.Index index)
Index a document and return whether it was created, as opposed to just
updated.
|
| Constructor and Description |
|---|
Translog.Index(Engine.Index index) |
Copyright © 2009–2017. All rights reserved.