Querying Null and String Values in Typesense.
TLDR Andrew wondered if they could look for non-null and string values in Typesense, but Jason explained a workaround by creating a new boolean field at indexing time.
Feb 15, 2023 (8 months ago)
And have it return all documents where the videoUrl is not a null value but instead a string?
So you would have to create a new boolean field at indexing time, called say
videoUrlIsNulland then use that to filter
Indexed 2779 threads (79% resolved)
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.
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.
Filtering Based on Null or Specific Field Value in Typesense
Matheus asked how to filter documents on a null or specific field value. Jason suggested using a placeholder string to represent null values for filtering purposes.