Data Types for utc_datetime, uuid, and Null Fields
TLDR arpit asked about data types for utc_datetime, uuid, and null fields. Jason suggested using int64, string, and optional with a boolean field in case of null values.
Mar 15, 2023 (9 months ago)
uuidfileds should be
is_field_x_null: true | false
Indexed 3011 threads (79% resolved)
Query Regarding Null Field Filtering in Typesense
Luke asked about null field filtering, to which Kishore Nallan provided a link explaining its unavailability.
Troubleshooting Typesense 400 Error with Null Fields
sonu was encountering a 400 error due to null fields during Typesense indexing. Jason suggested upgrading to a recent version, removing null fields, and marking potentially null fields as `optional: true`. gab shared a similar issue and workaround.
Querying with Typesense-Js and Handling Null Values
michtio was querying using typesense-js and receiving fewer results than expected. Kishore Nallan suggested using different query parameters. Further discussion led to the handling of 'null' values and filtering syntax in the search queries. The thread ended with Jason offering migration support from Algolia to Typesense.
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.
Handling `string | null` Fields in Schema
gab asked about handling `string | null` fields in schemas. Kishore Nallan suggested they could be marked as optional, so either the field doesn't exist or the value can be null.