Skip to main content
~/open-source / meilisearch-go-stats-metrics

Added stats metrics to the Meilisearch Go client

Pr meilisearch/meilisearch-go Merged
View on GitHub

I used Meilisearch at Emission Critical for full-text search over public emission-factor databases. Separately, the Go client’s stats response was missing a few fields the Meilisearch API itself already returns: database size, per-index document counts, and embeddings counts. I opened three small PRs to close that gap:

  • #621 : adds usedDatabaseSize to stats.
  • #620 : adds numberOfEmbeddedDocuments and numberOfEmbeddings per index.
  • #619 : adds rawDocumentDbSize and avgDocumentSize per index.

Each was scoped to one issue the Meilisearch team had already filed (#615 , #614 , #613 ), so the change was mostly wiring the existing API fields through the SDK’s response struct. All three merged.