- cbarwinParticipant2 years, 8 months ago #28951
I’m trying to include a range with checkboxes facet that represents everything greater than 0. If I have a facet with the following data, it’s creating a 403 error due to the * in the URL.
{“id”:”chicago_inventory_str”,”type”:”facet_type_range”,”level”:0,”item_value”:”1-*”,”range_start”:”1″,”range_end”:”*”}
Please advise.
wpsolrKeymaster2 years, 8 months ago #28958If you’re working with an Algolia index, be aware that the regular range facet will not work.
To my knowledge, there is no Algolia equivalent to multiple Elasticsearch range aggregation like https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-range-aggregation.htmlThe slider range is working though (one range only).
cbarwinParticipant2 years, 8 months ago #28962I’m working with Elasticsearch. I was able to implement your suggestion to add a really large number for the range end value. The range with the * is still showing up as an option, and is still not working. I can hide it with CSS. Not a great fix; but it works.
One last question — is it possible to assign “OR” logic across different facets?
You must be logged in to reply to this topic.