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.
2
1
1
Mar 15, 2023 (9 months ago)
arpit
09:48 PMJason
09:50 PMint64
arpit
10:05 PMuuid
fileds should be string
?arpit
10:06 PM1
Jason
10:06 PM1
arpit
10:53 PMnull
?arpit
10:53 PMJason
10:53 PMoptional: true
1
1
Jason
10:54 PMis_field_x_null: true | false
arpit
10:54 PMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
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.