retrievers#

Search Retrievers of various types.

Use MongoDBAtlasVectorSearch.as_retriever(**) to create MongoDB’s core Vector Search Retriever.

Classes

retrievers.full_text_search.MongoDBAtlasFullTextSearchRetriever

Hybrid Search Retriever performs full-text searches using Lucene's standard (BM25) analyzer.

retrievers.hybrid_search.MongoDBAtlasHybridSearchRetriever

Hybrid Search Retriever combines vector and full-text searches weighting them the via Reciprocal Rank Fusion (RRF) algorithm.

retrievers.parent_document.MongoDBAtlasParentDocumentRetriever

MongoDB Atlas's ParentDocumentRetriever