Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feed search queries into an analytics platform #141

Open
yrodiere opened this issue Jan 15, 2024 · 1 comment
Open

Feed search queries into an analytics platform #141

yrodiere opened this issue Jan 15, 2024 · 1 comment

Comments

@yrodiere
Copy link
Member

In the app, we currently have access logs which display the search queries and parameters: essentially date/time, search terms, language, category, page.

We don't have any information about sessions, IPs or in general who queried what: the data is completely anonymous. We want to keep it that way.

It could be useful to feed this (again, anonymous) data into an analytics platform, so that we can have a look at the most queried terms. Using this data, we would be able to focus on popular search terms when tuning our app for best relevance: e.g. if jpa is queried frequently, we better make sure it returns good results (BTW it doesn't right now -_-).

@yrodiere
Copy link
Member Author

yrodiere commented Jan 15, 2024

@maxandersen do you have any preference regarding the analytics platform? Maybe we could reuse the platform we use for build analytics?
Technically OpenSearch is able to provide analytics, so we could just index access logs there. We'd probably be able to handle term analysis/normalization better that way. But I'm not sure it would be practical, since we'd end up with e.g. two separate dashboards on two separate UIs for build analytics and search analytics.

EDIT: And there's also the fact that the current OpenSearch indexes are not really important (we can rebuild them), whereas this new data would need to be preserved/backed up/whatever. Seems like extra work.

@yrodiere yrodiere added help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Dec 6, 2024
@yrodiere yrodiere modified the milestone: MVP Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant