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

Disable auto create index #516

Merged
merged 18 commits into from
Jun 30, 2023
Merged

Conversation

farshidz
Copy link
Collaborator

@farshidz farshidz commented Jun 26, 2023

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Feature

  • What is the current behavior? (You can also link to an open issue here)
    When adding documents to an index that does not exist, Marqo automatically and silently creates an index with a default index configuration.

  • What is the new behavior (if this is a feature change)?
    Attempting to add documents to an index that does not exist will fail with an error. Indices must be created explicitly before adding documents.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    Yes. Users must ensure an index exists before documents are added, or must handle the error. Code that relies on the removed automatic index creation behaviour will fail.

  • Have unit tests been run against this PR? (Has there also been any additional testing?)
    Yes. Only unit tests.

  • Related Python client changes (link commit/PR here)
    None

  • Related documentation changes (link commit/PR here)
    None

  • Other information:

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

@farshidz farshidz changed the title Farshid/disable auto create index Disable auto create index Jun 26, 2023
@farshidz farshidz temporarily deployed to marqo-test-suite June 26, 2023 04:50 — with GitHub Actions Inactive
@farshidz farshidz force-pushed the farshid/disable-auto-create-index branch from b0f73c8 to 8e7035b Compare June 26, 2023 08:08
@farshidz farshidz force-pushed the farshid/disable-auto-create-index branch from 8e7035b to 40e5630 Compare June 26, 2023 08:11
@farshidz farshidz temporarily deployed to marqo-test-suite June 27, 2023 07:44 — with GitHub Actions Inactive
@farshidz farshidz marked this pull request as ready for review June 27, 2023 11:02
@farshidz farshidz temporarily deployed to marqo-test-suite June 30, 2023 01:00 — with GitHub Actions Inactive
@pandu-k pandu-k merged commit 5bcf3ae into mainline Jun 30, 2023
@pandu-k pandu-k deleted the farshid/disable-auto-create-index branch June 30, 2023 02:32
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.

2 participants