Archive

Introduction to Elasticsearch

January 2, 2016 by
Part 1 of 35 in the Complete Guide to Elasticsearch series

Elasticsearch is an open source search server that is built on Apache Lucene. It uses Lucene as the core search engine, but provides many features that are not part of Lucene. For example, usage of Elasticsearch relies on a comprehensive REST API. Like Apache Lucene, Elasticsearch is written in Java and is therefore cross-platform and… read more

Terminology

January 6, 2016 by
Part 2 of 35 in the Complete Guide to Elasticsearch series

In this article, we will be walking through the terminology that you should be familiar with when working with Elasticsearch. Near real-time First, we will discuss what is meant by Elasticsearch being a near real-time search engine, something that was briefly mentioned in a previous article in this series. What this means, is that at the point in time one makes… read more

Installing Kibana for Elasticsearch on OS X

December 10, 2015 by
Part 4 of 35 in the Complete Guide to Elasticsearch series

The first thing you have to do in order to install Kibana for Mac OS X, is to download Kibana. Kibana can be downloaded here in your browser or by running the below command in your terminal. You should download either the .zip or the .tar.gz file. curl -L -O https://download.elastic.co/kibana/kibana/kibana-4.3.0-darwin-x64.tar.gz Be sure to replace… read more

Creating an Index

January 6, 2016 by
Part 6 of 35 in the Complete Guide to Elasticsearch series

In this article, we will see how to add an index to our Elasticsearch cluster. To do this, we will be using the Kibana plugin, Sense, which we installed in a previous article. To create an index in Elasticsearch, simply issue a PUT request like below. PUT /ecommerce { } This command is translated into an HTTP… read more

Deleting an Index

January 16, 2016 by
Part 7 of 35 in the Complete Guide to Elasticsearch series

Now that we have created an index, let’s see how we can delete an index. In fact, we are going to delete the index that we created in the previous article in this series and add it again later. Open the Sense plugin for Kibana and simply issue the below request to delete the index. DELETE /ecommerce Let’s ensure… read more

Introduction to Mapping

January 16, 2016 by
Part 8 of 35 in the Complete Guide to Elasticsearch series

In this part of the series, we will be talking about mapping in Elasticsearch. I will introduce mapping as well as cover dynamic and explicit mapping. What is Mapping in Elasticsearch? Like I briefly mentioned in the article about Elasticsearch terminology, mapping describes how documents and their fields are indexed and stored. This typically involves defining the… read more

Field Data Types

January 16, 2016 by
Part 9 of 35 in the Complete Guide to Elasticsearch series

Having introduced mapping, we will now go into a bit of more detail about data types. There are four categories of data types in Elasticsearch, namely core data types, complex data types, geo data types and specialized data types, which we will all take a look at now. Feel free to skip this article and move… read more

Meta Fields

January 17, 2016 by
Part 10 of 35 in the Complete Guide to Elasticsearch series

Now that we have taken a look at field data types, it is time to talk about meta fields. Introduction to Meta Fields So, just what are meta fields? Each document that is indexed in Elasticsearch has metadata associated with it. The names of these fields are prefixed with an underscore, and some of them… read more