algoliasearch-helper-js icon indicating copy to clipboard operation
algoliasearch-helper-js copied to clipboard

Add disjunctiveNumericRefinements

Open JanPetr opened this issue 8 years ago • 4 comments

Currently there is no way how to add disjunctive numeric refinements so it need to be bypassed by something like:

helper.setQueryParameter('filters', 'price = -1 OR expires >= 50');

And in the time when helper starts to use filters query parameter the code might break.

Customer's issue: http://stackoverflow.com/questions/40977909/algolia-how-do-i-add-is-it-possible-to-add-a-numeric-disjunctive-refinement/40979372

JanPetr avatar Dec 05 '16 17:12 JanPetr

Definitely something we need 👍

seafoox avatar Mar 22 '17 14:03 seafoox

Had the case just today 👍 Or at least to plan migrating to filters as a breaking change of the helper.

Jerska avatar Mar 21 '18 19:03 Jerska

Something we needed yesterday too for date ranges (in the end it worked with AND as well, but would still be nice), cc @samouss

Haroenv avatar Mar 22 '18 10:03 Haroenv

Just had another use case for this

Haroenv avatar Apr 19 '19 08:04 Haroenv