From 9394e236d6965491399541029215911664120e83 Mon Sep 17 00:00:00 2001 From: kanenorman Date: Thu, 28 Nov 2024 17:15:58 -0600 Subject: [PATCH] fix: correct typo for parameter name --- .../document_stores/mongodb_atlas/document_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py b/integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py index c4b55e65f..f13924185 100644 --- a/integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py +++ b/integrations/mongodb_atlas/src/haystack_integrations/document_stores/mongodb_atlas/document_store.py @@ -390,7 +390,7 @@ def _fulltext_retrieval( except Exception as e: error_msg = f"Failed to retrieve documents from MongoDB Atlas: {e}" if filters: - error_msg += "\nEnsure fields in filters are included in the `keyword_search_index` configuration." + error_msg += "\nEnsure fields in filters are included in the `full_text_search_index` configuration." raise DocumentStoreError(error_msg) from e return [self._mongo_doc_to_haystack_doc(doc) for doc in documents]