NODE-7937Needs Review

[Mastra] add reranker support to hybridQuery()

h2. TL;DR Add {{MongoDBVector.hybridQuery()}} with separate vector, text, and optional reranking configurations. Support caller-generated and automatic embeddings, expose independent retrieval limits, and default native reranking to {{{}rerank-3{}}}. Leave existing search APIs unchanged. h2. Context Mastra's MongoDB integration supports searching by meaning through vector search and by keywords through full-text search. Hybrid search combines these results into one ranked list using Mongo

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
ABX
Labels
Tags and classification
node-internal