Sorting Results by Weighted Query with Name & Distance
TLDR Vaibhav asked how to sort results by weighted query. Jason provided a solution, while Kishore Nallan clarified that aggregate scores based on weights are not possible.
Feb 06, 2023 (10 months ago)
sort_by: "name:asc,location(48.853, 2.344):asc"
Kishore Nallan05:59 AM
Indexed 3011 threads (79% resolved)
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.
Combining Sorting Parameters in GeoSearch
chase asked if sorting parameters could be combined in geosearch. Jason suggested using the `precision` parameter for this purpose.
Query_by and Query_by_weights Parameters in Typesense
Kevin didn't understand the result when using query_by + query_by_weights. Jason asked for a sample to assist but Kevin figured it out, asking for more details about weights assignment.