MongoDBAtlasFullTextSearchRetriever(
self,
*,
collection: Collection,
search_index_name: str,
search_field: Union| Name | Type |
|---|---|
| collection | Collection |
| search_index_name | str |
| search_field | Union[str, List[str]] |
| k | Optional[int] |
| filter | Optional[Dict[str, Any]] |
| include_scores | bool |
| rerank_path | Optional[Union[str, List[str]]] |
| rerank_model | Optional[str] |
| num_docs_to_rerank | Optional[int] |
| top_k | Optional[int] |
| auto_create_index | bool |
| auto_index_timeout | int |
Retriever performs full-text searches using Lucene's standard (BM25) analyzer.