| Package | Description |
|---|---|
| org.elasticsearch.action.index |
Index action.
|
| org.elasticsearch.index.engine |
| Modifier and Type | Method and Description |
|---|---|
static Engine.IndexingOperation |
TransportIndexAction.executeIndexRequestOnReplica(IndexRequest request,
IndexShard indexShard)
Execute the given
IndexRequest on a replica shard, throwing a
RetryOnReplicaException if the operation needs to be re-tried. |
static Engine.IndexingOperation |
TransportIndexAction.prepareIndexOperationOnPrimary(BulkShardRequest shardRequest,
IndexRequest request,
IndexShard indexShard)
Utility method to create either an index or a create operation depending
on the
IndexRequest.OpType of the request. |
| Modifier and Type | Class and Description |
|---|---|
static class |
Engine.Create |
static class |
Engine.Index |
Copyright © 2009–2017. All rights reserved.