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" } }
parseFieldMatcher
deprecationLogger, logger, settings
Constructor and Description |
---|
RestBulkAction(Settings settings,
RestController controller,
Client client) |
Modifier and Type | Method and Description |
---|---|
void |
handleRequest(RestRequest request,
RestChannel channel,
Client client) |
canTripCircuitBreaker, handleRequest
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public RestBulkAction(Settings settings, RestController controller, Client client)
public void handleRequest(RestRequest request, RestChannel channel, Client client) throws Exception
handleRequest
in class BaseRestHandler
Exception
Copyright © 2009–2016. All rights reserved.