Filtering Int64 Array with "not in" Function
TLDR Maxi asked how to filter an int64 array with "not in." Jason suggested using field:!=[1,2,3]
.
Powered by Struct AI
1
3
9mo
Feb 27, 2023 (9 months ago)
Maxi
Maxi
06:07 PMHi! Is there a way to make a
not in
type of filtering for an array of int64
?Jason
Jason
06:37 PMCould you try this on
0.25.0.rc12
field:!=[1,2,3]
Maxi
Maxi
06:47 PMHmmm I'll try that! Thanks!
1
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 3015 threads (79% resolved)
Similar Threads
Issues with Array Filtering in Numeric Fields
Robert couldn't use negation operator for integer array filtering. Kishore Nallan clarified it only works on strings and booleans.
4
29mo
Seeking Negation of Range in int64 Array Query
Akashchellakumar asked how to find the negation of a range in an int64 array. Kishore Nallan responded that there is currently no method available.
2
14mo
Negation Support in int64 Array Value
Akashchellakumar asked about negation in int64 array value. Jason suggested using a negative sign but Kishore Nallan confirmed negation isn't supported for numbers yet.
3
14mo