#community-help

Querying Non-Empty Fields with Typesense

TLDR Ivan asked how to search non-empty "uristest" array fields with Typesense. Kishore Nallan provided an answer via a linked discussion.

Powered by Struct AI
4
20mo
Solved
Join the chat
Jan 24, 2022 (20 months ago)
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
02:54 PM
Hi, i have collection with field "uristest", that is array of strings, i want to search inside collection using filter_by and find documents, that have this field "uristest" not empty, does typesense provide such "notempty" operation syntax?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
02:56 PM
👋 I recently answered a similar question here: https://github.com/typesense/typesense/issues/495#issuecomment-1019237185
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
02:57 PM
Hi Kishore Nallan, thanks for answer
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
02:58 PM
Welcome.