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

Partial updates for unstructured indexes #1110

Merged
merged 69 commits into from
Feb 27, 2025

Conversation

adityabharadwaj198
Copy link
Member

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

  • Supporting partial updates for unstructured indexes

  • What is the current behavior? (You can also link to an open issue here)

  • Unstructured indexes don't support partial updates

  • What is the new behavior (if this is a feature change)?

  • Unstructured indexes support partial updates

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

  • Yes, unit tests are included. API tests & compatibility tests need to be written

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

  • Related documentation changes (link commit/PR here)

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

@adityabharadwaj198 adityabharadwaj198 marked this pull request as draft January 31, 2025 13:45
… as part of this commit

1. Made changes to handle string array fields being added to index as string_array_field_map.
2.Made changes to pass a list or a dictionary to string_arrays as part of SemiStructuredVespaDocumentFields constructor.
3. Added some more tests
papa99do
papa99do previously approved these changes Feb 27, 2025
…eld to a document

Adding a test case that allows user to add a string / string array field to a document, if the same string / string array field is present in another document in the same index
papa99do
papa99do previously approved these changes Feb 27, 2025
… client in case of structured indexes if docID is not present while updating
@adityabharadwaj198 adityabharadwaj198 merged commit cc707da into mainline Feb 27, 2025
24 checks passed
@adityabharadwaj198 adityabharadwaj198 deleted the aditya/partial-updates-unstructured branch February 27, 2025 22:40
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