Grouping documents in Elasticsearch

Elasticsearch is a search engine based on the Lucene library. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents.  I use Kibana Console for Elasticsearch queries. First, we need to create an index called “posts” with the following query: After we have created the index, we will need to create a mapping for documents. For the “posts” index, we… Continue reading Grouping documents in Elasticsearch