def test_overlapping_ranges_fails(self):
        """Test that overlapping ranges raise an error"""
        with self.assertRaises(MarqoWebError) as e:
            self.client.index(self.unstructured_text_index_name).search(
                "shirt",
                search_method="HYBRID",
                facets={
                    "fields": {
                        "price": {
                            "type": "number",
                            "ranges": [
                                {"from": 0, "to": 60},
                                {"from": 50, "to": 100}
                            ]
                        }
                    }
                }
            )
        self.assertIn("Range configurations must not overlap", str(e.exception))
Test that overlapping ranges raise an error
tests/api_tests/v1/tests/api_tests/unstructured_index/test_facets.py