Checking Field Existence in Typesense
TLDR Saurabh wanted to check field existence in Typesense, and Jason suggested indexing a new field
fieldA_exists as a workaround.
May 11, 2023 (5 months ago)
how to check if field exists in typsense ?
So you would have to create a new field called say
fieldA_exists: true | falseand set that at indexing time to be able to query with it later
Indexed 2779 threads (79% resolved)
Query Hack without Exists/Doesn't Exist Tag
David asks how to perform a specific query. Jason suggests a hack, creating a new boolean field and set it during indexing. The solution is agreed upon. Gustavo suggests allowing 'null' indexing.
Debugging Document Filter Issue with Typesense PHP
Mathieu is facing an issue where a non-existent field in a document appears in search hits. Jason suggests replicating the issue using curl to examine whether the problem lies within Typesense or the PHP library.
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.