algolia / algolia/algoliasearch-helper-flutter

How to retrieve facetsStats?

Open
#156 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
27
Forks
21
Avg merge
1h 19m
Merged PRs (30d)
1

Description

I've tried many ways to get the facetsStats of say "price" attribute (in order to get the highest price) but non works. It seems like a bug or does any one know how to do it?

What I did:
```
SearchState(
facets: ['searchable(price)','price']
...)
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the shown SearchState configuration for the price facet and trace how facetsStats is exposed. Compare the observed result with the expected highest-price behavior; done means either facetsStats can be retrieved for price or the limitation and correct usage are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.