@@ -2736,30 +2736,6 @@ async def test_hybrid_search_query_with_combine(self, decoded_r):
27362736 assert res ["warnings" ] == []
27372737 assert res ["execution_time" ] > 0
27382738
2739- # # LINEAR combine with no params
2740- # posprocessing_config.combine("LINEAR", ALPHA=0.5)
2741- # res = client.ft().hybrid_search(
2742- # query=hybrid_query, post_processing=posprocessing_config, timeout=10
2743- # )
2744-
2745- # expected_results = [
2746- # {"__key": b"item:2", "__score": b"0.166666666667"},
2747- # {"__key": b"item:7", "__score": b"0.166666666667"},
2748- # {"__key": b"item:12", "__score": b"0.166666666667"},
2749- # ]
2750- # if is_resp2_connection(client):
2751- # assert res.total_results >= 3
2752- # assert len(res.results) == 3
2753- # assert res.results == expected_results
2754- # assert res.warnings == []
2755- # assert res.execution_time > 0
2756- # else:
2757- # assert res["total_results"] >= 3
2758- # assert len(res["results"]) == 3
2759- # assert res["results"] == self._convert_dict_values_to_str(expected_results)
2760- # assert res["warnings"] == []
2761- # assert res["execution_time"] > 0
2762-
27632739 # combine with RRF, not all possible params provided
27642740 posprocessing_config .combine ("RRF" , WINDOW = 3 )
27652741 res = await decoded_r .ft ().hybrid_search (
0 commit comments