def test_empty_tensor_query_dict(self):
        """Ensure empty tensor query dict does not raise errors and behaves correctly."""
        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
                    )
                )

                with self.assertRaises(ValueError):
                    tensor_search.search(
                        config=self.config, index_name=index.name, text=None, search_method="HYBRID",
                        hybrid_parameters=HybridParameters(
                            queryTensor={},  # Edge case
                            queryLexical="dogs", retrievalMethod=RetrievalMethod.Disjunction,
                            rankingMethod=RankingMethod.RRF
                        ), result_count=5
                    )
Ensure empty tensor query dict does not raise errors and behaves correctly.
tests/integ_tests/tensor_search/integ_tests/test_hybrid_search.py