This message was deleted.
# community-help
s
This message was deleted.
z
Is there perhaps a way to escape those labels to support a wider range of characters?
Example use case is grouping numerical years into decades e.g.
year(1980s:[1980,1990], 1990s:[1990,2000])
k
That's an oversight. Can you please create a Github issue for us to track and fix? Thanks.
z
@Kishore Nallan coming back to this again, I am able to successfully group the facets by numeric labels now. But running into an issue where actually applying the filter by range label throws a an error. Just wanted to make sure I wasn't doing something wrong before updating or creating a new Issue.
Copy code
"facet_by": "year(Older:[0, 1980], 1980s:[1980, 1990], 1990s:[1990, 2000], 2000s:[2000, 2010], 2010s:[2010, 2020], 2020s:[2020, ])",
"filter_by": "year:=['2010s']"
Returns this error...
Copy code
"Error with filter field year: Numerical field has an invalid comparator."`
k
Facets and filters operate independently so we don't yet have a way to refer to these range labels within filter. For now, you have to use the raw numerical ranges during filtering.
👍 1