def test_query_tensor_as_multi_values_dict_produces_different_results_to_single_value_dict(self):
        """Ensure that a query tensor with multiple values produces different results to a single value dict."""
        for index in [self.structured_text_index_score_modifiers, self.semi_structured_default_text_index]:
            with self.subTest(index=index.type):
                self.add_documents(
                    config=self.config, add_docs_params=AddDocsParams(
                        index_name=index.name, docs=self.docs_list,
                        tensor_fields=["text_field_1"] if isinstance(index, UnstructuredMarqoIndex) else None
                    )
                )

                single_query = {
                    "dogs": 1.0
                }

                multi_query = {
                    "dogs": 1.0,
                    "cats": 0.5
                }

                single_res = tensor_search.search(
                    config=self.config, index_name=index.name, search_method="HYBRID", text=None,
                    hybrid_parameters=HybridParameters(
                        queryTensor=single_query,
                        retrievalMethod=RetrievalMethod.Tensor,
                        rankingMethod=RankingMethod.Tensor
                    ), result_count=5
                )

                multi_res = tensor_search.search(
                    config=self.config, index_name=index.name, search_method="HYBRID", text=None,
                    hybrid_parameters=HybridParameters(
                        queryTensor=multi_query,
                        retrievalMethod=RetrievalMethod.Tensor,
                        rankingMethod=RankingMethod.Tensor
                    ), result_count=5
                )

                for res in single_res['hits']:
                    res_with_same_id = next((r for r in multi_res['hits'] if r['_id'] == res['_id']), None)
                    if res_with_same_id:
                        self.assertNotEqual(res['_score'], res_with_same_id['_score'])
Ensure that a query tensor with multiple values produces different results to a single value dict.
tests/integ_tests/tensor_search/integ_tests/test_hybrid_search.py