I have a need to search through collapsed results, is this possible?
Something like this
{
"query": {
"match_all": {}
},
"sort": { "createdTime": "desc" },
"collapse": {
"field": "name.raw",
"query":{
"match": {
"name": {
"query": "John",
"fuzziness": "AUTO"
}
}
},
"size": 6
}
}