Simple problem with a simple solution. In this post we will see how to delete an index in Elasticsearch. Solution We have 3 indices in Elasticsearch […]
Shutting down a node abruptly is not the right way to decommission or remove a node from the Elasticsearch cluster. Doing so will cause your shards […]
Elasticsearch used to add _timestamp field with the ingestion timestamp automatically to all documents that are being added to the index. Unfortunately, this was removed in […]
Deleting a single document is pretty straightforward in Elasticsearch. We can simply issue a DELETE on the document id and the document will be deleted from […]
Filtering based on a range like greater than, less than, greater than equal etc. are pretty common requirements when you work with data. In this post […]
We can specify conditional expressions like OR, AND using the Query expression during search in Elasticsearch. We have an index named account and in the index […]
When you search or lookup a document, Elasticsearch by default returns or shows you all the fields in the document. $ curl -X GET "localhost:9200/account/_doc/954?pretty" { […]
Elasticsearch offers 2 different contexts on how you have query or filter documents in an index – Query context and Filter context. Query context In the […]