0

I have this basic facet query &facet=IncAcc and I just want to return a count of different facet values.

Azure search returned not only facet values and Count, but also an array of search documents. As I just need facet value and count, is there a way to tell azure search not to return anything else?

"@search.facets": {
        "IncAcc": [
            {
                "count": 8124,
                "value": "I"
            },
            {
                "count": 6464,
                "value": "A"
            },
            {
                "count": 5,
                "value": ""
            }
        ]
    },"value": [
    {
    }
daxu
  • 3,514
  • 5
  • 38
  • 76

0 Answers0