def test_single_facet_number_field(self):
        """
        Tests facet aggregations (min, max, avg, sum, count) for numeric fields.
        """
        self.add_fashion_docs()
        for retrieval_method, ranking_method in (
                (RetrievalMethod.Tensor, RankingMethod.Tensor),
                (RetrievalMethod.Lexical, RankingMethod.Lexical),
                (RetrievalMethod.Disjunction, RankingMethod.RRF),
        ):
            with self.subTest(retrieval_method=retrieval_method, ranking_method=ranking_method):
                facets = FacetsParameters(fields={"price": FieldFacetsConfiguration(type="number")})
                expected_lexical_facets = {'price': {'avg': 49.03, 'count': 1, 'max': 49.03, 'min': 49.03, 'sum': 49.03}}
                expected_other_facets = {'price': {'sum': 224.55, 'avg': 56.1375, 'min': 1.2, 'max': 92.99, 'count': 4}}
                self._test_facet_query(
                    retrieval_method=retrieval_method, ranking_method=ranking_method,
                    facets=facets,
                    expected_lexical_facets=expected_lexical_facets, expected_other_facets=expected_other_facets
                )

        Tests facet aggregations (min, max, avg, sum, count) for numeric fields.
        
tests/integ_tests/tensor_search/integ_tests/test_facets.py