What is ElasticSearch?#
It is a service, that returns search results based on a query.
How to Query?#
To query elastic search, it needs to have data first. It stores data in the form of maps in indices.
Elasticsearch runs on port
9200 but default.
So if you are running it locally you can connect to it with:
Adding data is done with a post to the server
There is a nice tool that makes querying it easy called
elastic toolbox a
Otherwise you can just use Postman:
You can also validate with:#