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

Patch multimodal so broken document is not indexed #631

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

wanliAlex
Copy link
Collaborator

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    patch a bug in multimodal that indexes the broken documents

  • What is the current behavior? (You can also link to an open issue here)
    a broken document is still indexed

  • What is the new behavior (if this is a feature change)?
    broken document will not be indexed

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    no

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

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

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

  • Other information:
    no

  • 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)

@wanliAlex wanliAlex requested review from farshidz, vicilliar and pandu-k and removed request for farshidz and vicilliar October 31, 2023 05:21
@wanliAlex wanliAlex temporarily deployed to marqo-test-suite October 31, 2023 05:22 — with GitHub Actions Inactive
Copy link
Collaborator

@pandu-k pandu-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Li! 2 comments:

  1. There seems to be some formatting your IDE applies to the test file, which adds a lot of diffs, making it a bit harder to read
  2. Great job adding new tests. Do these new unit tests fail, without the bug fix?
  3. For the new tests: should we check the response body of the add_documents call, where a document isn't indexed properly, to make sure the error message appears as expected?
  4. For the new tests: can we have a case where some documents get indexed successfully but other documents, that have broken URL or vectorise breaks, don't get indexed successfully?

@wanliAlex wanliAlex temporarily deployed to marqo-test-suite October 31, 2023 07:14 — with GitHub Actions Inactive
@pandu-k pandu-k temporarily deployed to marqo-test-suite October 31, 2023 08:04 — with GitHub Actions Inactive
@pandu-k pandu-k temporarily deployed to marqo-test-suite October 31, 2023 08:04 — with GitHub Actions Inactive
@pandu-k pandu-k temporarily deployed to marqo-test-suite October 31, 2023 08:04 — with GitHub Actions Inactive
@pandu-k pandu-k temporarily deployed to marqo-test-suite October 31, 2023 08:04 — with GitHub Actions Inactive
@pandu-k pandu-k temporarily deployed to marqo-test-suite October 31, 2023 08:04 — with GitHub Actions Inactive
@pandu-k pandu-k temporarily deployed to marqo-test-suite October 31, 2023 08:05 — with GitHub Actions Inactive
@wanliAlex wanliAlex merged commit 6af4c94 into mainline Oct 31, 2023
23 checks passed
@wanliAlex wanliAlex deleted the li/multimodal-patch branch October 31, 2023 09:33
@vicilliar vicilliar changed the title Pactch multimodal so broken document is not indexed Patch multimodal so broken document is not indexed Nov 29, 2023
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