How elastic bulk data

How Java client send the data source to the cluster?

bulkRequest.add(new IndexRequest().source(object));

client.bulk(_bulkRequest, RequestOptions.DEFAULT);

What exactly it does after converting the data to JSON?
Does it compress it?
How it transferred to the cluster?

It's done using the same HTTP REST API you can call with curl.

Means it convert the object to json and sent it by REST. correct?

If I have over than 200 milliion documents, how the network be effected?

You should split it in multiple calls. Like 10000 by 10000.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.