Validity of Schema in Documentation
TLDR Harpreet raised doubt about a certain schema in the documentation. Kishore Nallan confirmed the error, and Harpreet planned to open a pull request to correct it.

May 26, 2021 (28 months ago)
Harpreet
05:42 AMdefault_sorting_field
which is not present in fields
? Is this schema valid?{
"num_documents": 1250,
"name": "ceos",
"fields": [
{"name": "company_name", "type": "string"},
{"name": "full_name", "type": "string"},
{"name": "from_year", "type": "int32"}
],
"default_sorting_field": "num_employees"
}
Kishore Nallan
05:42 AMHarpreet
05:43 AMhttps://typesense.org/docs/0.20.0/api/collections.html#list-all-collections
Kishore Nallan
05:43 AMHarpreet
05:44 AMHarpreet
05:45 AMfrom_year
should be the value of default_sorting_field
?Kishore Nallan
05:45 AMHarpreet
05:46 AMKishore Nallan
05:46 AM
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Methods for Fetching, Querying, and Modifying Collections in Typesense
Bill inquired about performing OR queries, querying empty arrays and modifying collections in Typesense. Kishore Nallan explained the current limitations and provided workarounds and recommendations for each case. The conversation also touched upon the usage of cache in Typesense and the workings of the _eval function.


Cold Start Problem with Dynamic Collections
Adrian reported cold start issues with dynamic collections. Jason suggested using wildcard `*` for query_by parameters, upgrading to `0.25.0.rc34`, and clarified conventions. Adrian's issues were resolved but they reported a limitation that will potentially be addressed.

Issue with Typesense Schema and Ruby Client
Mateo faces issues while creating a schema and using Ruby client for Typesense. Jason suggests using a new field instead of 'id' and provides assistance for Ruby client errors.
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.



Sorting Results in Typesense and Handling Errors
Ramees asks about sorting results by distance in Typesense, entering a list of strings as a field, and resolving an error with `fields` format. Kishore Nallan assists with these issues and advises on storing timestamps and proper authentication.
