talk. // the call shape for each primitive — bookmark this slide. $vectorSearch + filter ANN over an HNSW index with a predicate pushed into the graph traversal. { $vectorSearch: { index, path, queryVector, numCandidates, limit, filter } } $rankFusion Server-side RRF across N input pipelines. Hybrid search in one round-trip. { $rankFusion: { input: { pipelines: { semantic, lexical } }, combination: { weights } } } TTL index Date-field index with expireAfterSeconds. Background sweep ~60s. Declarative forgetting. createIndex({ createdAt: 1 }, { expireAfterSeconds, partialFilterExpression }) $merge Terminal aggregation stage with upsert semantics. How consolidation writes back. { $merge: { into, on, whenMatched, whenNotMatched } } change streams Real-time event feed off the oplog. Fan-out for embedding + downstream enrichment. collection.watch([ { $match: ... } ]) Voyage AI embeddings Embeddings generated automatically on write — no separate embedding service. configure in vector index definition · public preview (May 2026) 10 / 11 lidia / memory @ lagos.mug