Understanding Default Sorting and Performance Impact in Schema
TLDR Ricardo asked about the default sorting field and the performance impact of sort_by. Jason explained the defaults and potential performance cost when sorting by multiple fields.

Jun 03, 2021 (27 months ago)
Ricardo
06:40 PMdefault_sorting_field
is provided in the schema what's the order returned? insertion order?Jason
06:44 PM_text_match:desc
by default (textual relevance) and if there's a tie, then insertion order, yesRicardo
06:45 PMRicardo
06:45 PM
Ricardo
06:46 PMJason
06:47 PMJason
06:49 PM
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Understanding and Adjusting Query Parameter Weights
John needed help understanding default weights, manipulating weights, and sorting by weight in query parameters. Jason educated on default weights, sorting mechanism, and also suggested using buckets for sorting based on custom fields.


Resolve Facets and Sorting Issues with Typesense
Ethan needed assistance with getting all facet values and sorting results by date using Typesense. Jason provided guidance on how to use Typesense properties to accomplish these tasks, and resolved issues related to specific use-cases provided by Ethan and Rushil.


Issues Sorting Multiple Fields with Sort_by in Typesense Query
Rishabh was having trouble sorting two fields separately with a single query. Jason explained that a secondary sorting will only occur if the first sort results in matching values. They clarified the functionality of sorting in various search engines.

