diff --git a/integrations/elasticsearch/tests/test_bm25_retriever.py b/integrations/elasticsearch/tests/test_bm25_retriever.py index 9db7d87ca..ee4346b12 100644 --- a/integrations/elasticsearch/tests/test_bm25_retriever.py +++ b/integrations/elasticsearch/tests/test_bm25_retriever.py @@ -80,7 +80,6 @@ def test_run(): fuzziness="AUTO", top_k=10, scale_score=False, - filter_policy="replace", ) assert len(res) == 1 assert len(res["documents"]) == 1 diff --git a/integrations/elasticsearch/tests/test_embedding_retriever.py b/integrations/elasticsearch/tests/test_embedding_retriever.py index ab63799e4..98b9ef4d4 100644 --- a/integrations/elasticsearch/tests/test_embedding_retriever.py +++ b/integrations/elasticsearch/tests/test_embedding_retriever.py @@ -37,6 +37,7 @@ def test_to_dict(_mock_elasticsearch_client): }, "filters": {}, "top_k": 10, + "filter_policy": "replace", "num_candidates": None, }, } @@ -54,6 +55,7 @@ def test_from_dict(_mock_elasticsearch_client): }, "filters": {}, "top_k": 10, + "filter_policy": "replace", "num_candidates": None, }, }