When I do this request, I can get mappings of the index:
GET /users
And it returns this:
{
"user":{
"mappings":{
"skill":{
"properties":{
...
"Rouge":{
"type":"float"
},
"Ruby":{
"type":"float"
},
"Rust":{
"type":"float"
},
"SAS":{
"type":"float"
},
"SASS":{
"type":"float"
},
"SCSS":{
"type":"float"
},
...
"settings":{
"index":{
"creation_date":"1584415338201",
"number_of_shards":"5",
"number_of_replicas":"0",
"provided_name":"user"
}
}
}
}
}
}
}
The problem is, some of the fields are empty and I want to find them.
For example no one has a value for Ruby. If I can specifically search for a field to see if it is empty/null I can do it, but I need a query to find all the empty fields, which unfortunately I couldn't find anything online.
Of course I can get all the fields and run an empty-check query on all of them, but it is probably a bad idea. Do you know how to do it better?
I am using version 6.8.