I want to know how to get only the properties inside the mapping from using react frontend. this mappings is in my backend. I want to get only the properties not the value using elastic search query .backend is nodejs one . Output should be the account, class, team_members.id, team_members.name, team_members.priority .
"mappings": {
"properties": {
"account": {"type": "integer"},
"class" : { "type" : "keyword",
"normalizer" : "my_normalizer"
},
"team_members": {
"properties": {
"id": {"type": "integer"},
"name": {"type": "text"},
"priority": {"type": "integer"}
}
}
}
}