Code conventions and downloads

All source code in listings or in text is in a fixed-width font like this to separate it from ordinary text. Code annotations accompany many of the listings, highlighting important concepts.

Source code for all the working examples in the book and instructions to run them are available at https://github.com/dakrone/elasticsearch-in-action. You can also download the code from the publisher’s website at www.manning.com/books/elasticsearch-in-action.

The code snippets and the source code will work on Elasticsearch 1.5. They should work on all the versions of the 1.x branch. At the time of this writing, the roadmap for version 2.0 is becoming clearer, and it’s taken into account: we skipped features that will go away, such as configuration options on most predefined fields. In other places, such as filter caches, where 1.x and 2.x simply behave differently, we specifically pointed this out in a callout.