def test_hybrid_parameters_validation(self):
        """Test that hybrid parameters are only allowed for hybrid search."""
        hybrid_parameters = HybridParameters(
            retrievalMethod=RetrievalMethod.Disjunction,
            rankingMethod=RankingMethod.RRF
        )
        
        # Should fail for tensor search
        with self.assertRaises(ValidationError) as cm:
            SearchQuery(
                q="test",
                searchMethod=SearchMethod.TENSOR,
                hybridParameters=hybrid_parameters
            )
        self.assertIn("Hybrid parameters can only be provided for 'HYBRID' search", str(cm.exception))
Test that hybrid parameters are only allowed for hybrid search.
tests/unit_tests/marqo/tensor_search/test_api_models.py