hi there! i’m a typesense cloud user. i’m trying t...
# community-help
j
hi there! i’m a typesense cloud user. i’m trying to implement Analytics & Query Suggestions per https://typesense.org/docs/27.1/api/analytics-query-suggestions.html#enabling-the-feature - i followed the doc guidelines and created analytics rules for both popular + no_hits queries. i see that search analytics should be enabled by default on typesense cloud. however, performing searches against my main collections over the past day hasn’t logged anything to either my
popular_queries
or
no_hits_queries
collections. i’m using
typesense-instantsearch-adapter
in my (react) codebase, and also made some shell queries to see if that would trigger the analytics rules, but nothing has worked. would anyone be able to help me troubleshoot this? 🙏 thanks in advance!
j
I do see queries logged in your destination collections now
There is a 5 minute aggregation window between the time the query happens, and when it shows in the destination collection, so may be that was it?
j
ah, those queries were docs that i manually inserted into the destination collections myself using the typesense dashboard, because I needed to test a UI feature on our client 😕
(to be clear) the queries for “phone battery” and “phone case” were the ones i created for the collection myself
j
Ah I see. Looks like the aggregation thread was stalled for some reason. We restarted it and it seems to be working fine now. Could you check now?
j
awesome, it’s working now! this is great, many thanks for your help 🙏
👍 1