Errata: January 28, 2019

Thank you for purchasing Elasticsearch in Action. Please post any errors, other than those listed below, in the book's Author Online Forum. We'll update this list as necessary. Thank you!

Unless otherwise noted, all corrections to all versions are pending.

Page 15, unnecessary text:

…installed. Once that's in place, you're typically only a download away from getting Elasticsearch ready to start.

Page 27, figure 2.4 and page 31, figure 2.8:

This correction hasn't been made in the print format and is pending in mobile and LiveBook formats.

The arrow between Shard 0 primary and Shard 1 primary shouldn't start from Shard 0 primary but from the Node 1 border.

Page 38, listing 2.2

The reference to location should be location_group:


Page 88, listing 4.4:

The underscores before each key are misplaced; they should follow the opening double quotation mark:

"_index": "get-together",
"_type": "event",
"_id": "114",
"_score": null,
"_source": {

Page 94-95, unnecessary extra text:

, as well as the ability to manually specify whether a filter should be cached.

Page 98, second paragraph

simple_query_string uses hyphens instead of underscores.

Page 132, code for Keyword tokenizer

The tokens are Hi and there.

should be

The only token is Hi, there.

Page 132, code for Whitespace tokenizer

The tokens are Hi and there.

should be

The tokens are Hi, and there.

Page 132, code for Lowercase tokenizer


should be


Page 133, first paragraph

…for example, if you wanted to split text on any two-digit number, you could create a custom analyzer…

should be

…for example, you could create a custom analyzer…

Page 171, listing 6.18

"geolocation": {

should be

"location_event.geolocation": {

Page 198, first two SIGNIFICANT TERMS paragraphs, percentages are off by a factor of 10

(0.0001%) and (0.007%)

should be

(0.001%) and (0.07%) respectively

Page 232, Table 8.1, under the Description column at row 1

The text starting with "first_name:Lee" should be in the Example column instead