[CLOUDP-367240] Add support of auto embeddings for vector search using mongot config#680
Merged
viveksinghggits merged 10 commits intomasterfrom Jan 10, 2026
Merged
Conversation
MCK 1.6.2 Release NotesBug Fixes
|
lsierant
reviewed
Jan 7, 2026
a094f57 to
1e00443
Compare
fealebenpae
requested changes
Jan 7, 2026
anandsyncs
reviewed
Jan 8, 2026
1. Make sure the reconciliation happens for search resource if the data of the secret that has api keys is changed 2. Validate the api key secret is present before reconciliation
viveksinghggits
commented
Jan 8, 2026
viveksinghggits
commented
Jan 8, 2026
viveksinghggits
commented
Jan 8, 2026
fealebenpae
requested changes
Jan 9, 2026
viveksinghggits
commented
Jan 9, 2026
fealebenpae
approved these changes
Jan 9, 2026
Contributor
fealebenpae
left a comment
There was a problem hiding this comment.
I think this looks good, thanks for your hard work!
anandsyncs
approved these changes
Jan 9, 2026
Contributor
|
LGTM, please fix the linting issues. |
1. Imrpove test to make sure even zero values are not present in mongot config if autoEmbedding is not provided in CR
This was referenced Jan 10, 2026
viveksinghggits
added a commit
that referenced
this pull request
Jan 16, 2026
# Summary Adds release note for the support for vector search auto embeddings PR #680 ## Proof of Work NA ## Checklist - [x] Have you linked a jira ticket and/or is the ticket in the title? - [x] Have you checked whether your jira ticket required DOCSP changes? - [x] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details
viveksinghggits
added a commit
that referenced
this pull request
Jan 19, 2026
…arch (#701) # Summary As part of this PR #680 we added support for auto embedding for vector search. In this PR we are adding code snippets for the docs. These code snippets, update the MongDBSearch resourc with `autoEmbedding` and then create vector search index of type `autoEmbed` and then run a query using the `autoEmbed` vector search index. ## Proof of Work https://spruce.mongodb.com/version/69669fa728f4aa0007937bec/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC https://spruce.mongodb.com/version/6968c948a64269000735da96/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC ## Checklist - [x] Have you linked a jira ticket and/or is the ticket in the title? - [x] Have you checked whether your jira ticket required DOCSP changes? - [x] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details
lsierant
pushed a commit
that referenced
this pull request
Jan 23, 2026
# Summary Adds release note for the support for vector search auto embeddings PR #680 ## Proof of Work NA ## Checklist - [x] Have you linked a jira ticket and/or is the ticket in the title? - [x] Have you checked whether your jira ticket required DOCSP changes? - [x] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details
lsierant
pushed a commit
that referenced
this pull request
Jan 23, 2026
…arch (#701) # Summary As part of this PR #680 we added support for auto embedding for vector search. In this PR we are adding code snippets for the docs. These code snippets, update the MongDBSearch resourc with `autoEmbedding` and then create vector search index of type `autoEmbed` and then run a query using the `autoEmbed` vector search index. ## Proof of Work https://spruce.mongodb.com/version/69669fa728f4aa0007937bec/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC https://spruce.mongodb.com/version/6968c948a64269000735da96/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC ## Checklist - [x] Have you linked a jira ticket and/or is the ticket in the title? - [x] Have you checked whether your jira ticket required DOCSP changes? - [x] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the support for auto embeddings in case of vector search in MCK. Without auto embeddings if a customer has to use vector search, they will have to generate vector embeddings for their data manually (themselves) and after the vector embeddings are generated, they can use the vector search.
With the help of auto embeddings, if customers opt in, they won't have to generate the vector embeddings by themselves. If configured properly, mongot will do it for the customers when the vector search index is created. mongot looks for specific fields (
embedding) in it's config to decide it has to do auto embedding or not.This PR adds support to enable users to configure the mongot config so that mongot can do auto embedding, and to do that we are exposing the
autoEmbeddingfield in theMongoDBSearchCR. Using this field customers will be able to configureembeddingfield ofmongotconfig.Should we make
EmbeddingModelAPIKeySecretmandatory in CR if theProviderEndpointis specified?Proof of Work
Install the locally built version of search using locally run MCK operator, make sure MongoDBSearch resource is in running state. And create the search resource using below manifest
and then go ahead and create the vector search index
query the data to make sure search is working
E2E test will be part of another PR.
Checklist
skip-changeloglabel if not needed