You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In mongoshusetestdb.movies.insertMany([{title: "The Matrix",plot: "A computer hacker learns about reality"},{title: "Inception",plot: "Dreams within dreams"}])db.movies.createSearchIndex("default",{mappings: {dynamic: true}})// Wait for index to be READY, then searchdb.movies.aggregate([{$search: {text: {query: "hacker",path: "plot"}}}])
Voyage AI Models
Model
Use Case
Cost
voyage-4-lite
Fast/cheap
$0.02/M tokens
voyage-4
Balanced
$0.06/M tokens
voyage-4-large
Best quality
$0.18/M tokens
voyage-code-3
Code search
$0.18/M tokens
Files
File
Purpose
docker-compose.yml
Container orchestration
Dockerfile.mongot
Builds mongot from public download
mongot-config-leader.yml
Leader mongot config
mongot-config-follower.yml
Follower mongot config
keyfile
Replica set authentication
voyage-api-*-key
Voyage AI API keys
start.sh
One-command setup
GUIDE.md
Comprehensive documentation
Troubleshooting
Problem
Solution
Containers not starting
docker compose logs
"not primary" error
Wait ~30s for election
Can't connect from Compass
Use directConnection=true
Search index not building
Check docker compose logs mongot1
Full reset needed
docker compose down -v && ./start.sh
For detailed explanations of architecture, configuration, and step-by-step instructions, see GUIDE.md.
About
Local MongoDB + Mongot (Atlas Search) Docker setup with auto-embedding vector search