def test_get_non_existent_array_field_returns_empty_facet_value(self):
        """
        Test that a non-existent array field in facets raises an error
        """
        self.add_fashion_docs()
        facets = FacetsParameters(fields={"non_existent_field": FieldFacetsConfiguration(type="array")})
        res = tensor_search.search(
            config=self.config, index_name=self.semi_structured_default_text_index.name, text="shirt",
            search_method=SearchMethod.HYBRID, hybrid_parameters=HybridParameters(
                retrievalMethod=RetrievalMethod.Tensor, rankingMethod=RankingMethod.Tensor
            ),
            facets=facets
        )
        self.assertEqual(res["facets"]["non_existent_field"], {})

        Test that a non-existent array field in facets raises an error
        
tests/integ_tests/tensor_search/integ_tests/test_facets.py