Skip to content

Support Dynamic Meilisearch Clients Per Record (e.g., Multi-Tenant Setup) #420

@jeremylynch

Description

@jeremylynch

In multi-tenant applications, it’s increasingly common to isolate search indices per account, with each tenant pointing to a separate Meilisearch server (e.g., different host/API key). Currently, meilisearch-rails assumes a globally configured Meilisearch client, which makes this use case hard to support.

We have tried to monkey patch the gem to support this, however it is challenging.

Would you consider adding support for this to the gem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions