Elasticsearch

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

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

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

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

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

Listing All Indexes in Elasticsearch Cluster

December 10, 2015 by

If you want to list all of the indexes within an Elasticsearch cluster, then there are a few ways to do just that. The following examples are going to assume the usage of cURL to issue HTTP requests, but any similar tool will do as well. It is also possible to use the Kibana plugin… read more