Skip to content

Add skip_creation option to document add/replace endpoints - #716

Draft
SergiuLupaiescu wants to merge 1 commit into
meilisearch:mainfrom
SergiuLupaiescu:fix/skip-creation-option
Draft

SergiuLupaiescu wants to merge 1 commit into
meilisearch:mainfrom
SergiuLupaiescu:fix/skip-creation-option

Conversation

@SergiuLupaiescu

@SergiuLupaiescu SergiuLupaiescu commented Oct 23, 2026 •

Copy link
Copy Markdown

Adds skip_creation: to the add/replace and update document endpoints. Pass true and Meilisearch will return an error if the index doesn't exist yet instead of creating it automatically. Maps to the skipCreation query param introduced in v1.31.

Fixes #666.

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@SergiuLupaiescu
SergiuLupaiescu force-pushed the fix/skip-creation-option branch from 706593b to ebdbfba Compare October 23, 2026 08:07
When true, the task fails if the index does not already exist instead
of creating it. Passes skipCreation as a query parameter to the API.
@SergiuLupaiescu
SergiuLupaiescu force-pushed the fix/skip-creation-option branch from ebdbfba to e3ff032 Compare October 23, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Meilisearch v1.31] Allow skipCreation when adding/replacing documents

1 participant