I am having a hard time with the new online documentations. It's really bad.
Can anybody please help me with how to retrieving just the mapping from index_template?
I don't think this is possible, the _index_template
API will return the entire template, you cannot filter to get just the mappings, also, you can have templates without any mappings.
If you have jq
you could manipulate the response to print out just the mappings
.
Yeah, I also had some issues with the new documentation, there is this topic with some discussion and people from elastic getting feedback.