Query about 'Stats' field in JSON Response
TLDR Harpreet asked about the "stats" field in a search result. Kishore Nallan explained it's for numerical variables, and recognized an issue with the YML api spec.
Nov 07, 2021 (26 months ago)
Harpreet
04:07 AM "facet_counts": [
{
"counts": [
{"count": 8277, "highlighted": "salt", "value": "salt"}
],
"field_name": "ingredient_names",
"stats": {}
}
],
What is returned in the "stats" field?
Kishore Nallan
04:11 AMKishore Nallan
04:12 AMHarpreet
04:23 AMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Setting dynamic range faceting in Typesense
Jacob requested dynamic range faceting in Typesense, and explanation for fetching max/min values. Kishore Nallan clarified pricing bucket sizes were user dependent and explained the stats return as part of facet results.
Understanding Facet Results in Typesense
Prabhu had difficulty understanding the count results of his facet results in Typesense. Kishore Nallan explained the behaviour and suggested creating a Github issue for a feature request to modify count behaviour.
Faceting Objects in Typesense
John wants to facet objects in Typesense, but faces issues. Kishore Nallan suggests creating a feature request on GitHub.