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

Create a vector search index for Atlas MongoDB initially #32

Open
waldemarschmalz opened this issue May 13, 2024 · 2 comments
Open

Create a vector search index for Atlas MongoDB initially #32

waldemarschmalz opened this issue May 13, 2024 · 2 comments

Comments

@waldemarschmalz
Copy link

Would it feasible to generate the vector search index upon startup? This approach may simplify deployments, as the API could establish a connection with MongoDB and instantiate the index.

Have I overlooked something or is there a specific reason this wouldn't be advisable?

@danny-avila
Copy link
Owner

Should be possible, I’ve been researching what might be the best way.

@danny-avila
Copy link
Owner

Just tried this, wasn't straightforward; also learned in the process that an M10+ cluster ($0.08/hr minimum) is required to create it programmatically.

Hopefully they change this in the future, especially when mongodb rolls vector search out for local installations

https://feedback.mongodb.com/forums/924868-atlas-search/suggestions/38761267-be-able-to-create-search-indexes-from-mongo-shell

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

No branches or pull requests

2 participants