Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v0.30] Index name swapping with the new method POST /swap-indexes #367

Closed
6 tasks
brunoocasali opened this issue Mar 4, 2023 · 0 comments · Fixed by #430
Closed
6 tasks

[v0.30] Index name swapping with the new method POST /swap-indexes #367

brunoocasali opened this issue Mar 4, 2023 · 0 comments · Fixed by #430
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@brunoocasali
Copy link
Member

brunoocasali commented Mar 4, 2023

This feature request is part of the new features introduced on Meilisearch v0.30.
Extracted from meilisearch/integration-guides#221.

Related to:

This issue aims to make Meilisearch more production-ready by allowing the swap of indexes, and this feature should remove the possible downtimes.

  • Add the POST /swap-indexes endpoint
  • Add an indexSwap task type
  • Add an indexes.swap API Key action
  • Add a duplicate_index_found error.
  • Add swaps in Tasks.details
  • Add code sample swap_indexes_1 into this file
    This code sample should show an example of the corresponding curl command, but with swift code:
curl \
    -X POST 'http://localhost:7700/swap-indexes' \
    -H 'Content-Type: application/json' \
    --data-binary '[
      {
        "indexes": [
          "indexA",
          "indexB"
        ]
      },
      {
        "indexes": [
          "indexX",
          "indexY"
        ]
      }
    ]'
@brunoocasali brunoocasali added enhancement New feature or request good first issue Good for newcomers labels Mar 4, 2023
@Sherlouk Sherlouk mentioned this issue Nov 3, 2023
3 tasks
@meili-bors meili-bors bot closed this as completed in ca7c180 Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant