Suppose I have a lot of documents with facets and text fields, additionally they have a field like amount: 3. I want to support a query which returns the sum of the amount of documents matching the search criteria.
Is this a supported feature in Azure Cognitive Search? I can't seem to find the documentation on how to do a query which would return the aggregate sum, but I know you can do it in Elastic Search.
Can I do a raw lucene query?