Elastic Search CRUD Operations
- Index API:
- Lets create a request to insert a document of type _doc in the index bookstore with an id 1

- Lets create a request to insert a document of type _doc in the index bookstore without id

- Now lets use Get request to Get document

- Update the price of the document which is in bookstore index with id 1

- lets delete the document

- Searching docs

- Search in multiple indexes

- Search all the documents of particular type in all indexes
GET /_all/_doc/_search- Range query with values

- Range can also be checked with dates
GET /bookstore/_search { "query": { "range": { "orderData": { "gte": "10/07/2020", "lte": "10/08/2020", "format": "dd/MM/yyyy" } } } }- Exists query

- Term query

- Match queries

- Lets create a request to insert a document of type _doc in the index bookstore with an id 1
