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

fix(shell-api): create vector search index with description options MONGOSH-1851 #2377

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

alenakhineika
Copy link
Contributor

Add support for calling createSearchIndex with a description to match the driver behavior: https://www.mongodb.com/docs/drivers/node/current/fundamentals/indexes/#create-a-search-index

createSearchIndex(definition)
createSearchIndex(name, definition)
createSearchIndex(name, type, definition)
createSearchIndex(description) // New.

@alenakhineika alenakhineika marked this pull request as ready for review February 20, 2025 14:20
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.

4 participants