Skip to content

Comments

[CLOUDP-372679] Update code snippets for auto embedding for vector search#701

Merged
viveksinghggits merged 8 commits intomasterfrom
code-snippets-vector-auto-embedding
Jan 19, 2026
Merged

[CLOUDP-372679] Update code snippets for auto embedding for vector search#701
viveksinghggits merged 8 commits intomasterfrom
code-snippets-vector-auto-embedding

Conversation

@viveksinghggits
Copy link
Collaborator

@viveksinghggits viveksinghggits commented Jan 13, 2026

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

  • Have you linked a jira ticket and/or is the ticket in the title?
  • Have you checked whether your jira ticket required DOCSP changes?
  • Have you added changelog file?

@viveksinghggits viveksinghggits requested a review from a team as a code owner January 13, 2026 16:52
@github-actions
Copy link

github-actions bot commented Jan 13, 2026

⚠️ (this preview might not be accurate if the PR is not rebased on current master branch)

MCK 1.7.0 Release Notes

New Features

  • MongoDBSearch: Updated the default mongodb/mongodb-search image version to 0.60.0. This is the version MCK uses if .spec.version is not specified.

Bug Fixes

  • Fix an issue to ensure that hosts are consistently removed from Ops Manager monitoring during AppDB scale-down events.
  • Fixed an issue where monitoring agents would fail after disabling TLS on a MongoDB deployment.
  • Persistent Volume Claim resize fix: Fixed an issue where the Operator ignored namespaces when listing PVCs, causing conflicts with resizing PVCs of the same name. Now, PVCs are filtered by both name and namespace for accurate resizing.
  • Fixed a panic that occurred when the domain names for a horizon was empty. Now, if the domain names are not valid (RFC 1123), the validation will fail before reconciling.
  • Fixed an issue where the Operator could crash when TLS certificates are configured using the certificatesSecretsPrefix field without additional TLS settings.

@viveksinghggits viveksinghggits added the skip-changelog Use this label in Pull Request to not require new changelog entry file label Jan 13, 2026
@viveksinghggits viveksinghggits changed the title Update code snippets for auto embedding for vector search [CLOUDP-372679] Update code snippets for auto embedding for vector search Jan 13, 2026
@viveksinghggits
Copy link
Collaborator Author

code_snippets are failing because of unavailability of mongot image that supports auto embedding.

Copy link
Contributor

@fealebenpae fealebenpae left a comment

Choose a reason for hiding this comment

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

Looks good! Just please update the default search image version so you can update the snippet with the latest models mongot released with.

@viveksinghggits
Copy link
Collaborator Author

Looks good! Just please update the default search image version so you can update the snippet with the latest models mongot released with.

Right, I am just trying to get that PR in.#703

@viveksinghggits viveksinghggits force-pushed the code-snippets-vector-auto-embedding branch from 281257c to 58cb4a6 Compare January 14, 2026 18:22
@viveksinghggits viveksinghggits force-pushed the code-snippets-vector-auto-embedding branch from 58cb4a6 to 41636bc Compare January 14, 2026 19:24
@viveksinghggits viveksinghggits merged commit 42eb9ea into master Jan 19, 2026
31 of 34 checks passed
@viveksinghggits viveksinghggits deleted the code-snippets-vector-auto-embedding branch January 19, 2026 17:42
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use this label in Pull Request to not require new changelog entry file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants