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

Implement a first version of the clear indexes #3727

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

irevoire
Copy link
Member

@irevoire irevoire commented May 4, 2023

Prototype prototype-clear-all-indexes-0

  • Provide a new DELETE /indexes route to delete all indexes
  • In the task queue:
    • Reuse the indexDeletion type but set the indexUid to null => Should we create a new type for this task?
    • What should be the details?
    {
      "uid": 243,
      "indexUid": null,
      "status": "succeeded",
      "type": "indexDeletion",
      "canceledBy": null,
      "details": {
        "deletedDocuments": null
      },
      "error": null,
      "duration": "PT0.008237S",
      "enqueuedAt": "2023-05-09T08:54:19.507495Z",
      "startedAt": "2023-05-09T08:54:19.511285Z",
      "finishedAt": "2023-05-09T08:54:19.519522Z"
    }

I made this PR to explore the subject, but feedback and bug reports are greatly appreciated to help us shape a solution.

@irevoire irevoire added the prototype available You can test this feature using the available prototype label May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prototype available You can test this feature using the available prototype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant