Architecture Patterns
Search and Vector Search on MongoDB Community Server: Running mongot
MongoDB Search and Vector Search are now GA for self-managed Community Server via mongot. What changed, how it is deployed, and what it adds to operations.
What this article covers
MongoDB Search and Vector Search for Community Edition, GA on 30 June 2026, with mongot source-available under the SSPL. Installation docs listed MongoDB Community 8.3 or later on 2026-10-22; Enterprise Advanced and Atlas options differ by product and contract.

On 30 June 2026, MongoDB announced general availability of MongoDB Search and Vector Search for Community Edition. Self-managed MongoDB Community Server deployments can now run full-text search, vector search and hybrid ranking on their own infrastructure, without Atlas and without a separate search engine.
The capability depends on a second process, mongot, that sits beside mongod. That adds a component to deploy, secure, size, monitor and back up. This article explains what was released, how the architecture works, and which engineering decisions follow for teams running Community Server themselves.
What was released, and under which licence
The MongoDB product update for Community Edition describes keyword search, semantic search, autocomplete and faceting on MongoDB data, served by mongot. It states that mongot is available under the Server Side Public License (SSPL). The MongoDB announcement blog of 1 July 2026 adds detail:
- General availability covers MongoDB Community Edition and MongoDB Enterprise Advanced.
- In Community, the capability comes at no additional cost under the SSPL.
- The
$search,$searchMeta,$vectorSearch,$rankFusionand$scoreFusionaggregation stages are supported with functional parity to Atlas, according to MongoDB. - For Enterprise Advanced, Search and Vector Search are a paid add-on, with technical support and operational tooling from MongoDB.
Licensing language matters here. MongoDB Community Server is source-available under the SSPL, and so is mongot. Neither is open source in the OSI sense. Publishing the source helps with debugging and inspection, but the SSPL’s conditions still apply. Teams that offer MongoDB functionality as a service to third parties should have counsel review the licence. Our MongoDB Community Server page covers that boundary.
One feature has a dependency outside your infrastructure. The blog states that automated embedding generation currently requires MongoDB-hosted Voyage AI. If documents must not leave your environment, plan to generate embeddings yourself and store them as vectors.
Version requirements: check before you plan
MongoDB’s sources differed on the research date. The announcement blog says Community support starts with MongoDB 8.2. The mongot installation guide for Linux lists MongoDB Community Edition 8.3 or later as a prerequisite, for tarball installs and for the Kubernetes Operator alike. We treat the documentation as the operative requirement and record the exact mongod and mongot versions per environment.
MongoDB 9.0 was announced as generally available on 29 September 2026. Check the mongot compatibility notes for the mongod version you intend to run before combining a new database release with a search rollout.
How mongot fits into a deployment
mongot builds and serves search indexes from data it reads continuously from the database. The installation guide sets clear prerequisites:
- A replica set.
mongotsyncs from a replica set initiated with keyfile access control. A standalonemongodis not supported. - A dedicated database user.
mongotconnects through a user with thesearchCoordinatorrole, authenticating with exactly one mechanism: SCRAM or X.509. - Startup parameters on
mongod.mongotHost,searchIndexManagementHostAndPortanduseGrpcForSearchare set in the configuration file. The guide notes they are read only at startup, so enabling search needs a planned rolling restart. - Linux tarballs. The guide lists builds for x86_64 and ARM. Docker and Kubernetes Operator guides also exist, and the blog describes Kubernetes deployment through MongoDB Controllers for Kubernetes.
Security settings need deliberate choices. The sample configuration uses localhost and no TLS, which the guide says suits only a co-located host. When mongot and mongod run on different machines, bind to a trusted internal interface and enable TLS for both the sync source and gRPC connections. The guide warns against binding to 0.0.0.0.
Co-located or dedicated: choosing a topology
The mongot deployment architecture guide describes two patterns:
| Pattern | Shape | Suited to | Watch for |
|---|---|---|---|
| Co-located | mongod and mongot on the same host |
Development and small search workloads | Resource contention between indexing, queries and the database |
| Dedicated | At least three mongod machines in a replica set and at least two mongot machines |
High availability, sharding, or substantial search and vector workloads | More hosts to patch, secure and monitor; a load balancer in the query path |
For high availability, the guide places an application-level load balancer, such as Envoy, between mongod and the mongot nodes, with per-request round-robin. In the other direction, mongot chooses its own mongod sync source. In sharded clusters, each mongot belongs to one shard, and each shard needs its own load-balancer target.
Vector indexes are memory-sensitive. The architecture guide links separate resource allocation, hardware and storage pages, and we size from those pages and from load tests on representative data, not from rules of thumb.
Operating search: what changes day to day
A search tier adds failure modes that a plain replica set does not have. The documentation highlights several:
- Health is not readiness. The
/healthendpoint can reportSERVINGwhile indexes are still building. Indexes must be in theReadystate to serve queries, so monitor index status as well as process health. - Index lag. Indexes are built from data streamed from the database, so search results trail writes by some interval. Applications that need read-your-writes behaviour should query the collection directly for that step.
- Adding shards. The architecture guide warns that adding a shard to a collection with a search index triggers an initial sync, and queries may return incomplete results until it finishes. Schedule shard additions and tell application owners.
- Backups. Index definitions live in the database, but index data lives on the
mongotnodes. Decide whether to back up index data or rebuild it, and test how long a rebuild takes. - Logging and storage.
mongotlogs to standard output unlesslogging.logPathis set, and its data path must be writable by its service user.
These are ordinary platform tasks, but they belong in the runbook before go-live. Patches to mongot and mongod also need coordinated testing, since they are released by MongoDB on its own schedule.
When integrated search fits, and when it does not
Integrated search removes a synchronisation pipeline between the database and an external search engine or vector store. That is the main engineering gain: one query model, one security model for data access, and no separate change-data-capture job to maintain.
It is not automatically the right choice. Consider the trade-offs:
- Good fit: applications whose searchable data already lives in MongoDB, retrieval for AI features close to operational data, and environments that cannot use managed cloud services.
- Weaker fit: search across many source systems, where a dedicated search platform already indexes everything; or teams without capacity to operate another stateful tier.
- Route question: if you want MongoDB to support the search tier, or want it managed, that is Enterprise Advanced with the paid add-on, or Atlas. Those are partner-led routes with their own contracts, described on our MongoDB partner page. Community Server remains a self-supported route.
Hybrid ranking deserves its own test. The $rankFusion and $scoreFusion stages combine results from more than one pipeline, such as a keyword query and a vector query. That is useful when users mix exact terms, such as product codes, with natural-language questions. It also adds tuning choices: which pipelines to combine, how to weight them, and how to judge whether results improved. Build a small set of real queries with expected results before go-live, and rerun it after every index or embedding change. Without that baseline, relevance changes are hard to explain to the business.
For retrieval-augmented AI, search is one component. Chunking, embedding versioning, evaluation and access control still need design. Our enterprise AI and LLMOps reference architecture shows where retrieval sits among them.
Readiness checklist
- Community Server version confirmed against the current
mongotprerequisites, and recorded per environment. - SSPL obligations reviewed for your use, including any service offered to third parties.
- Replica set running with keyfile access control;
searchCoordinatoruser created with one authentication mechanism. - Rolling restart planned to set
mongotstartup parameters on everymongod. - Topology chosen: co-located for development, dedicated for production workloads.
- TLS enabled and
mongotbound to trusted interfaces where hosts are separate. - Load balancer in place for multiple
mongotnodes, per shard where sharded. - Monitoring covers index status, not only process health.
- Embedding generation decided: self-managed models, or MongoDB-hosted Voyage AI with data-residency review.
- Index backup or rebuild procedure written and tested.
How Bassirah can help
We help teams decide whether integrated search suits their workload, then design, deploy and test mongot alongside MongoDB Community Server. This is independent engineering; we do not provide MongoDB’s own support, and upstream fixes follow MongoDB’s release schedule. Where a supported or managed route fits better, we can compare it with you, as the scope differs by edition and contract.
Independent engineering services
These are independent Bassirah engineering and support offerings. They do not imply upstream vendor or foundation endorsement, official vendor support rights, enterprise feature entitlement or maintenance guarantees.
Sources
- Now GA: MongoDB Search and Vector Search for Community Edition
- MongoDB Search and Vector Search Now Run Anywhere
- Install or Uninstall mongot on Linux
- mongot Deployment Architecture Patterns
- MongoDB launches MongoDB 9.0 (press release)
Related pages
More insights
Architecture Patterns
YugabyteDB Multi-Region Topologies: Synchronous Replication, xCluster or Read Replicas
Synchronous replication, geo-partitioning, xCluster and read replicas solve different problems. What each does, what it costs and how to choose.
YugabyteDB
Operations & Reliability
YugabyteDB LTS and STS Releases: Upgrade Planning and the PostgreSQL 15 Path
v2024.2, the last PostgreSQL 11-based LTS series, leaves maintenance in December 2026. How to choose a target series and plan the YSQL major upgrade.
YugabyteDB
Read article : YugabyteDB LTS and STS Releases: Upgrade Planning and the PostgreSQL 15 Path→
Comparisons & Decisions
Moving a PostgreSQL Application to YugabyteDB: Compatibility Testing and Migration Planning
YSQL reuses the PostgreSQL query layer, but it is not a drop-in replacement. How to test compatibility, redesign the schema and choose a migration route.
PostgreSQLYugabyteDB
Discuss This With an Architect
Map these trade-offs against your workloads, constraints and operating model.
