-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Elasticsearch 5.x Cookbook
By :

There are a lot of common scenarios that involve changing your mapping. Due to limitation to Elasticsearch mapping, that is, it not being possible to delete a defined one, you often need to reindex index data. The most common scenarios are:
Changing an analyzer for a mapping
Adding a new subfield to a mapping and you need to reprocess all the records to search for the new subfield
Removing an unused mapping
Changing a record structure that requires a new mapping
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.
To correctly execute the following commands, the index created in the Creating an index recipe is required.
The HTTP method to reindex an index is POST
. The URL formats to get mapping is http://<server>/_reindex
.
To get a mapping from the type of...
Change the font size
Change margin width
Change background colour