When using attribute values that aren't strings, there are a few things you need to be aware of:
-
numbers are the only additional data type that can be indexed for search:
null
&boolean
values are not searchable. - Non string data types have to be manually added to your searchable attributes.
- JSON allows you to send numbers in different notations (e.g. “1000“ vs “1e3“ → the engine indexes both as “1000“)