def test_search_query_rerank_depth_fails_if_negative(self):
        """
        Tests that creating a search query with rerank_depth fails if the value is negative.
        """
        with self.assertRaises(ValueError) as e:
            _ = SearchQuery(q="test", searchMethod=SearchMethod.HYBRID, rerankDepth=-5)
        self.assertIn("rerankDepth cannot be negative", str(e.exception))

        Tests that creating a search query with rerank_depth fails if the value is negative.
        
tests/integ_tests/tensor_search/models/test_api_models.py