February 2017
Intermediate to advanced
696 pages
12h 24m
English
Elasticsearch for performance reasons stores some data in memory and on a transaction log. If we want to free memory, empty the transaction log, and be sure that our data is safely written on disk, we need to flush an index.
Elasticsearch automatically provides periodic flush on disk, but forcing flush can be useful, for example:
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 ...
Read now
Unlock full access