Open
Description
I want to add this to the search;
collapse: {
field: "name",
inner_hits: {
name: "latest_document",
size: 1,
sort: [
{ releaseDate: "desc" }
]
}
},
aggs: {
"total_distinct": {
cardinality: { field: "name" }
},
},
However adding it to the config
for the SearchProvider doesn't work. Is it at all possible to make this library work with collapsed fields and with a custom aggregation for bucket counts? If so, how?