/Elasticsearch-5x-Cookbook-Third-Edition

Code repository for Elasticsearch 5.x Cookbook Third Edition, published by Packt

Primary LanguageShellMIT LicenseMIT

Elasticsearch 5x Cookbook Third Edition

Code repository for Elasticsearch 5.x Cookbook, published by Packt

This is the code repository for Elasticsearch 5.x Cookbook, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

ElasticSearch is a Lucene-based distributed search server that allows users to index and search unstructured content with petabytes of data. This book is your one-stop guide to master the complete ElasticSearch ecosystem.

We’ll guide you through comprehensive recipes on what’s new in Elasticsearch 5.x, showing you how to create complex queries and analytics, and perform index mapping, aggregation, and scripting. Further on, you will explore the modules of Cluster and Node monitoring and see ways to back up and restore a snapshot of an index.

You will understand how to install Kibana to monitor a cluster and also to extend Kibana for plugins. Finally, you will also see how you can integrate your Java, Scala, Python, and big data applications such as Apache Spark and Pig with ElasticSearch, and add enhanced functionalities with custom plugins.

By the end of this book, you will have an in-depth knowledge of the implementation of the Elasticsearch architecture and will be able to manage data efficiently and effectively with Elasticsearch.

Instructions and Navigation

All of the code is organized into folders. The commands and instructions will look like the following:

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;

…
try {
// get URL content         
  URLConnection conn = url.openConnection();// open the stream and put it into BufferedReader             
  BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream()));              

String inputLine;             
while ((inputLine = br.readLine()) != null){
System.out.println(inputLine);             
}             
br.close();              
System.out.println("Done");          
} catch (MalformedURLException e) {
e.printStackTrace();         
} catch (IOException e) {             
e.printStackTrace();         
}

Note:

Chapter 01, 02, 10, 11 do not have code files.

Related products:

###Suggestions and Feedback Click here if you have any feedback or suggestions.