Number of documents per Facet
It would be nice to have a number of matched documents total per Facets when doing a $searchMeta query and not only the count within the buckets itself. We cannot add all bucket counts as documents can be in multiple buckets leading to inconsistent results.
This idea came out of a requirement to sort facets by matched documents in total.
2
votes
