Hi,
I have three indices,
index1, index2 and index3 all have field userId.
index1 = has 4 documents with userId = 12
index2 = has 2 documents with userId = 12
index3 = has 5 documents with userId = 12
When I perform:
curl -X POST "http://localhost:9200/_search " -d '{"facets" : {"tags" : { "terms" : {"field" : "id_user"} } }}'
The facet count I get for userId = 12 is 5.
I am expecting it to show me 11. which is sum of all documents across all three documents with userId = 12.