Shiva Dixith
07/21/2025, 5:22 PM{
"document": {
"analytics_tag": "make:1970",
"count": 1,
"id": "6721809444666933886",
"q": "black"
},
"highlight": {},
"highlights": []
}
The next time a search is executed on the source collection with q=black, but this time the analytics tag sent is "make:1975". Instead of adding a new document to the top_queries collection, it updates the existing document like so :
{
"document": {
"analytics_tag": "make:1975",
"count": 2,
"id": "6721809444666933886",
"q": "black"
},
"highlight": {},
"highlights": []
}
Is this expected ? If not, what is a required precondition to make sure this doesn't happen and it creates a new document every time a new analytics tag is associated with a query term ?Kishore Nallan
07/24/2025, 8:05 PMShiva Dixith
07/25/2025, 7:18 AM