MongoDB 1.28: MongoDB + Mastra: hybrid search, auto-embedding and reranking now in one query
MongoDB said that Hybrid Search in Mastra (v1.28) now works with Automated Embedding, BYOC (Bring Your Own Collection), pre-filtering and Native Reranking. It returns full documents from an existing collection.
- Who is affected
- Developers who build agents in TypeScript with Mastra, and teams who run product search or recommendations on MongoDB collections.
- Why it matters
- Before, retrieval needed a copy of the data, embedding sync, and fetching records by IDs. Now a new application can use BYOC to query the operational collection directly. This means less drift and less maintenance.
- What to do
- If you use Mastra, read the BYOC and autoEmbed index setup in the docs, and try the createIndex flow on a test collection.