Skip to content

Index swap doesn't work in import command when index name has prefix #360

Closed
@thislg

Description

@thislg

Description
When command php bin console meili:import --swap-indices is run, index prefix is not used in swap resulting in indices not being swapped.

Expected behavior
Temporary index and active index should be swapped and old index should be removed.

Current behavior
Temporary index is removed instead of being swapped with the active index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions