Added stats metrics to the Meilisearch Go client
View on GitHubI 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
usedDatabaseSizetostats. - #620
: adds
numberOfEmbeddedDocumentsandnumberOfEmbeddingsper index. - #619
: adds
rawDocumentDbSizeandavgDocumentSizeper 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.