Package | Description |
---|---|
org.elasticsearch.action.bulk | |
org.elasticsearch.action.index |
Index action.
|
Modifier and Type | Method and Description |
---|---|
protected Tuple<BulkShardResponse,BulkShardRequest> |
TransportShardBulkAction.shardOperationOnPrimary(MetaData metaData,
BulkShardRequest request) |
Modifier and Type | Method and Description |
---|---|
protected Tuple<BulkShardResponse,BulkShardRequest> |
TransportShardBulkAction.shardOperationOnPrimary(MetaData metaData,
BulkShardRequest request) |
protected void |
TransportShardBulkAction.shardOperationOnReplica(BulkShardRequest request) |
Modifier and Type | Method and Description |
---|---|
static TransportReplicationAction.WriteResult<IndexResponse> |
TransportIndexAction.executeIndexRequestOnPrimary(BulkShardRequest shardRequest,
IndexRequest request,
IndexShard indexShard,
MappingUpdatedAction mappingUpdatedAction)
Execute the given
IndexRequest on a primary shard, throwing a
RetryOnPrimaryException 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. |
Copyright © 2009–2016. All rights reserved.