February 2017
Intermediate to advanced
696 pages
12h 24m
English
When we are inserting/deleting/updating a large number of documents, the HTTP overhead is significant. To speed up the process Elasticsearch allows executing the bulk of CRUD calls.
You need an up-and-running Elasticsearch installation, as used in the Downloading and installing Elasticsearch recipe in Chapter 2, Downloading and Setup.
To execute curl via the command line, you need to install curl for your operative system.
As we are changing the state of the data, the HTTP method is POST and the REST URL is:
http://<server>/<index_name/_bulk
To execute a bulk action, we will perform the following steps:
create/index/delete/update commands in a structure ...Read now
Unlock full access