org.elasticsearch.rest.action.bulk
Class RestBulkAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.rest.BaseRestHandler
org.elasticsearch.rest.action.bulk.RestBulkAction
- All Implemented Interfaces:
- RestHandler
public class RestBulkAction
- extends BaseRestHandler
{ "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" }
{ "type1" : { "field1" : "value1" } }
{ "delete" : { "_index" : "test", "_type" : "type1", "_id" : "2" } }
{ "create" : { "_index" : "test", "_type" : "type1", "_id" : "1" }
{ "type1" : { "field1" : "value1" } }
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestBulkAction
@Inject
public RestBulkAction(Settings settings,
Client client,
RestController controller)
handleRequest
public void handleRequest(RestRequest request,
RestChannel channel)