Skip to content

INTPYTHON-687 Add multi_field support for $search operation #166

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

Merged
merged 3 commits into from
Jul 18, 2025

Conversation

DRXD1000
Copy link
Contributor

Linked to #165

All tests checked.

@DRXD1000
Copy link
Contributor Author

@blink1073 The current draft would expect to parse a list of strings -> list of fields to be indexed to the text_key parameter. All other process steps would expect the first key, to be the 'primary key' to read into the page_content field of the Langchain document.

What is your opinion on that. Would you prefer a class with like a 'primary' key ?

@blink1073
Copy link
Collaborator

I like the way you've used it here, it seems intuitive to me. I'm running this branch against our internal CI in addition to the GitHub Actions tests (the link will only work for MongoDB employees):

https://spruce.mongodb.com/version/68791c110e5fff000743b736/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

@blink1073
Copy link
Collaborator

There are some typing errors

@blink1073
Copy link
Collaborator

The internal CI build passed

@blink1073 blink1073 self-requested a review July 17, 2025 17:21
Copy link
Collaborator

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

Great, thank you! We'll make a release with this next week.

@blink1073 blink1073 merged commit 4876051 into langchain-ai:main Jul 18, 2025
14 checks passed
@blink1073 blink1073 changed the title Add multi_field support for $search operation INTPYTHON-687 Add multi_field support for $search operation Jul 18, 2025
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