org.elasticsearch.rest.action.bulk
Class RestBulkAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.rest.BaseRestHandler
          extended by 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" } }
 


Field Summary
 
Fields inherited from class org.elasticsearch.rest.BaseRestHandler
client
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
RestBulkAction(Settings settings, Client client, RestController controller)
           
 
Method Summary
 void handleRequest(RestRequest request, RestChannel channel)
           
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestBulkAction

@Inject
public RestBulkAction(Settings settings,
                             Client client,
                             RestController controller)
Method Detail

handleRequest

public void handleRequest(RestRequest request,
                          RestChannel channel)


Copyright © 2009-2012. All Rights Reserved.