Wondering how to do this in java using spring data elasticsearch library.
GET /my-index-000001/_mapping/field/user
CodePudding user response:
This is not supported by Spring Data Elasticsearch. You'll have to get the mapping for the index and extract the part you need from the returned Map<String, Object>
.