Public Meilisearch key (typically
DEFAULT_SEARCH_API_KEY).
Meilisearch host (typically DEFAULT_SEARCH_HOST).
OptionalhttpClientOptions: ResilientHttpClientOptions
Optional retry/logging overrides forwarded
to createResilientHttpClient. If a custom fetchImpl is
supplied it is wrapped by the Tiltify adapter before being handed
to the retry client.
Construct a
Meilisearchclient pre-wired with the resilienthttpClientthat createResilientHttpClient produces, wrapped in createTiltifyFetchAdapter so single-index searches are transparently routed through Tiltify's/multi-searchendpoint with the Origin header + filter-array shape Tiltify's proxy requires (see this module's@packageDocumentationfor the migration story).Every
*Searchclass in this package uses this factory.