def test_hybrid_search_searchable_attributes_fails(self):
        """
        Ensure that searchable_attributes cannot be set in hybrid search.
        """

        for index in [self.structured_text_index_score_modifiers, self.semi_structured_default_text_index,
                      self.unstructured_default_text_index]:
            with self.subTest(index=type(index)):
                with self.subTest("searchable_attributes active"):
                    with self.assertRaises(ValueError) as e:
                        tensor_search.search(
                            config=self.config,
                            index_name=index.name,
                            text="dogs",
                            search_method="HYBRID",
                            searchable_attributes=["text_field_1"]
                        )
                    self.assertIn("'searchableAttributes' cannot be used for hybrid", str(e.exception))

        Ensure that searchable_attributes cannot be set in hybrid search.
        
tests/integ_tests/tensor_search/integ_tests/test_hybrid_search.py