Hi there! I work at Algolia and I may have a solution for you: you can filter on ranges to offer that kind of experience.
For instance, if you decide to accept a +/- $20 margin, instead of filtering on exact price, you'd create a filter like `price < 180 AND price > 220` (replacing the numbers with your formula to calculate the range).
This gives you full power on what is the "error margin" you accept. Hope this helps!
The amounts must be specified in cents, as floats can’t be relied upon to perform calculations. That was my #1 reason to design the library using solely integers. I wrote all about it here: https://frontstuff.io/how-to-handle-monetary-values-in-javas...
For instance, if you decide to accept a +/- $20 margin, instead of filtering on exact price, you'd create a filter like `price < 180 AND price > 220` (replacing the numbers with your formula to calculate the range).
This gives you full power on what is the "error margin" you accept. Hope this helps!