Skip to content

Metrics

Search metrics#

Search operation supports analytics stats to better understand users.

These are the use cases we tackle:

As an admin I want to:

  • know which are the top most popular queries
  • so i better understand my user's preferences
  • know which are the top most queries that have lower scores
    • so i can fix some product descriptions to better match queries
    • so I can adjust marketing copies so users are not miss-leading
  • which are the queries that have better scores
  • so i can learn which are the "best written" product definitions
  • being able to build my own reports based on timestamped search events (csv export)

API

There are two endpoints:

  • POST /search/metrics for high level information such as: total calls, queries most called, queries with lowest scores, etc
  • POST /search/metrics/csv to download raw search events in a CSV file containing timestamp, query, bestScore, filters, result count, etc

Chat metrics#

TODO

Similar to searchmetrics.md TODO but for chat service

TODO