Skip to content

[Releases/2.22] Add new parameters for context documents and ease queryTensor restriction#1287

Merged
wanliAlex merged 18 commits intoreleases/2.22from
li/fix-missing-docs-context
Aug 21, 2025
Merged

[Releases/2.22] Add new parameters for context documents and ease queryTensor restriction#1287
wanliAlex merged 18 commits intoreleases/2.22from
li/fix-missing-docs-context

Conversation

@wanliAlex
Copy link
Collaborator

@wanliAlex wanliAlex commented Aug 20, 2025

Change Summary

This pull request introduces improved handling of missing documents and embeddings in recommendation and search workflows. It adds new parameters to allow the API to optionally skip errors when documents or their embeddings are missing.

In addition, we ease the restriction on the hybrid parameters queryTensor. It can now be either None, {} or even nothing. Marqo will raise an error if it can not collect any vector from the inputs while a vector is needed.

Py-marqo PR: marqo-ai/py-marqo#299

Related Jira Ticket

MOSD-483

Checklist

  • Tests have been added for changes
  • Documentation has been updated
  • Breaking changes are clearly identified
  • Python client changes linked or N/A

For new field types:

  • Tests cover score modifier usage of this new type
  • Test indexes updated to cover the new type for all APIs (add docs, search, partial update, etc.)

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@wanliAlex wanliAlex changed the title [Releases/2.22] Fix missing docs context [Releases/2.22] Add new parameters for context documents and ease queryTensor restriction Aug 20, 2025
@wanliAlex wanliAlex requested a review from papa99do August 20, 2025 13:42
@wanliAlex wanliAlex requested a review from papa99do August 21, 2025 02:58
@wanliAlex wanliAlex merged commit ce22517 into releases/2.22 Aug 21, 2025
32 of 51 checks passed
@wanliAlex wanliAlex deleted the li/fix-missing-docs-context branch August 21, 2025 05:16
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