Skip to content

Enable multiple indices per entity #372

Open
@aarsla

Description

@aarsla

Description
It would be useful to have the possibility of indexing entity to different indices.

Basic example

meilisearch:
  indices:
    - name: supported
      class: App\Entity\MyEntity
      index_if: isSupported
    - name: completed
      class: App\Entity\MyEntity
      index_if: isCompleted

Currently private function setIndexIfMapping(): void of MeilisearchService.php maps only one IndexIfMapping per entity.

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