#random

Troubleshooting Vue Instantsearch Numerical Field Filtering

TLDR em1nos experienced issues with Vue Instantsearch on numerical field, which got resolved after updating the adapter. Kishore Nallan and Jason assisted in the process.

Powered by Struct AI

1

16
21mo
Solved
Join the chat
Feb 10, 2022 (21 months ago)
em1nos
Photo of md5-f33ae8b829901656b655c985c894be3a
em1nos
11:16 AM
I'm having some Vue Instantsearch issues with filtering on a numerical field.
11:16
em1nos
11:16 AM
11:17
em1nos
11:17 AM
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:17 AM
It should not be using backtick and := .

cc Jason
em1nos
Photo of md5-f33ae8b829901656b655c985c894be3a
em1nos
11:18 AM
I understand that, but how should I configure it correctly in the ais-configure widget?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:19 AM
I think the issue is with the way the queries are generated by the library.
11:19
Kishore Nallan
11:19 AM
We will look into it.
11:20
em1nos
11:20 AM
but there is also something called "numeric facets", but if I try using that I get some other Instantsearch error.
11:21
em1nos
11:21 AM
we don't need to do this, I hope, to filter on a numerical field:
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:21 AM
Okay, Jason should be able to help out here later.

1

em1nos
Photo of md5-f33ae8b829901656b655c985c894be3a
em1nos
11:44 AM
hmm, it seems I was just using an old version of the adapter. I knew it was me and not you guys! 🙂 .. seems to work now after an upgrade
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:45 AM
Cool 👍
11:45
Kishore Nallan
11:45 AM
It was probably a bug which was fixed at some point 🙂
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
01:35 PM
Yup I fixed this issue in a recent version