Where is the code entrance of bulk api

for example:
curl -XPOST localhost:9200/_bulk --data-binary @request

I want to debug the bulk request, but don't know where to set the
breakpoint.

--

Look under the org.elasticsearch.rest.action package for all REST
endpoints:
https://github.com/elasticsearch/elasticsearch/tree/master/src/main/java/org/elasticsearch/rest/action

In your case, RestBulkAction:
https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/rest/action/bulk/RestBulkAction.java

--
Ivan

On Tue, Dec 25, 2012 at 7:31 PM, asoqa asoqa51@gmail.com wrote:

I want to debug the bulk request, but don't know where to set the
breakpoint.

--

thanks

在 2012年12月26日星期三UTC+8上午11时37分01秒,Ivan Brusic写道:

Look under the org.elasticsearch.rest.action package for all REST
endpoints:
https://github.com/elasticsearch/elasticsearch/tree/master/src/main/java/org/elasticsearch/rest/action

In your case, RestBulkAction:
https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/rest/action/bulk/RestBulkAction.java

--
Ivan

On Tue, Dec 25, 2012 at 7:31 PM, asoqa <aso...@gmail.com <javascript:>>wrote:

I want to debug the bulk request, but don't know where to set the
breakpoint.

--