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
Jan 24, 2022 (20 months ago)
Ivan
Ivan
02:54 PMHi, 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
Kishore Nallan
02:56 PM👋 I recently answered a similar question here: https://github.com/typesense/typesense/issues/495#issuecomment-1019237185
Ivan
Ivan
02:57 PMHi Kishore Nallan, thanks for answer
Kishore Nallan
Kishore Nallan
02:58 PMWelcome.
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2764 threads (79% resolved)
Similar Threads
Resolving Algolia Filter Issue with Empty/Null Strings
Mateo was struggling with a filtering error when dealing with empty/null strings in Algolia. Upon Jason's suggestion, they changed empty values to "Unknown" and exported the documents to resolve the issue.

9
7mo
Solved
Troubleshooting Typesense Filter_by Parameter Issue
Sagar had trouble with the filter_by parameter in Typesense. Kishore Nallan identified issue related to indexing, which resolved part of the issue. Guidance was given for handling null values.

21
2mo
Solved
Querying Empty Strings in Typesense Cloud - Collection Search
Loic wanted to query empty strings in Typesense, but Jason explained this needs to be done when indexing as Typesense doesn't support querying blank keys.
4
11mo