No video

How to obtain documents in ElasticSearch (GET - POST method)

To obtain one or more documents in Elastic Search, we can use the GET method. However, when you need to send a body in the request and for some reason you have restrictions to send that body with a GET method, you can use the POST method that works exactly the same.
Today I tell you how to get the documents in an index in ElasticSearch, how to get a specific document from its id and how to get the mapping of an index.
Content:
00:03 - GET and POST difference when fetching documents from ElasticSearch.
00:40 - Get documents from an index
01:09 - Fetch all documents from multiple indexes
02:18 - Get index mapping
03:48 - Check if a document exists with HEAD method
04:15 - Get a specific document with its id
05:10 - Source to get document without metadata
05:39 - Query params to fetch documents
Watch all the videos of the elastic search course: • Elastic Search PASO a ...
Facebook: goo.gl/HDLFyn
Twitter: goo.gl/pcFziM
#elasticsearch

Пікірлер: 1

  • @djoscarmix
    @djoscarmix5 ай бұрын

    como hago para aplicar elastic search a una database que ya tiene registros. o no se puede? grcias de antenamo