elasticsearch curl query examples

A quick way to get results from elasticsearch, test your queries and make sure your data is being indexed correctly is to fire off some queries from the command line. Using curl, you can get this going quickly. View all your elasticsearch indices: curl -XGET http://localhost:9200/_cat/indices?v A quick search across all indices: curl -XGET http://localhost:9200/_search/?q=foo […]

elasticsearch export specific index mappings

It can be a little confusing learning how to export elasticsearch mappings for a specific index. Exporting mappings is a great idea, just like you’d export and keep your database schema when you’re using mySQL or some other relational database, it’s important to keep the building blocks of your data store. To do a full […]

Elasticsearch – getting started

For those coming from traditional SQL databases, or nosql databases, some of the terminology used by Elasticsearch may take some getting used to. Connecting to Elasticsearch can be done by connecting to the machine with Elasticsearch installed through localhost ( The default port is: 9200, and access is granted full to everyone. Access is denied […]


Popular Courses