Manages Meilisearch health, version, and stats checks.
Summary
Functions
Gets the health of the Meilisearch server.
Gets the health of the Meilisearch server, raising if the request fails.
Gets the stats of all indexes.
Gets the stats of all indexes, raising if the request fails.
Gets the version of the Meilisearch server.
Gets the version of the Meilisearch server, raising if the request fails.
Functions
@spec health(Meili.Client.t() | nil) :: {:ok, map()} | {:error, Meili.Error.t()}
Gets the health of the Meilisearch server.
@spec health!(Meili.Client.t() | nil) :: map() | no_return()
Gets the health of the Meilisearch server, raising if the request fails.
@spec stats(Meili.Client.t() | nil) :: {:ok, map()} | {:error, Meili.Error.t()}
Gets the stats of all indexes.
@spec stats!(Meili.Client.t() | nil) :: map() | no_return()
Gets the stats of all indexes, raising if the request fails.
@spec version(Meili.Client.t() | nil) :: {:ok, map()} | {:error, Meili.Error.t()}
Gets the version of the Meilisearch server.
@spec version!(Meili.Client.t() | nil) :: map() | no_return()
Gets the version of the Meilisearch server, raising if the request fails.