Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "REST endpoints also enable users to make changes in clusters and indices settings dynamically rather than manually pushing configuration updates to all the nodes in a cluster by editing the elasticsearch.yml
file and restarting the node."
A block of code is set as follows:
{ "int_array": [1, 2,3], "string_array": ["Lucene" ,"Elasticsearch","NoSQL"], "boolean": true, "null": null, "number": 123, "object": { "a": "b", "c": "d", "e": "f" }, "string": "Learning Elasticsearch" }
Any command-line input or output is written as follows:
wget https://download.elastic.co/elasticsearch/elasticsearch/ elasticsearch-2.0.0.deb sudo dpkg -i elasticsearch-2.0.0.deb
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.