Prioritizing and Sorting Document Searches by Specific Fields
TLDR Robert inquired on sorting document searches by specific fields. Jason advised on using 'sort_by' for ranking, addressed 'per_page' limit's application, and confirmed unsupported "optional filtering".
Oct 07, 2021 (27 months ago)
field1:32:desc? Meaning the value 32 for that field would be rank 1, if it was found based on the query/keyword?
Oct 08, 2021 (27 months ago)
Indexed 3005 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.
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.
Discussing Limits on Sort_by Fields
James asked about the limit on `sort_by` fields. Jason clarified that the limit is for a single search query and that you can use more fields across various searches.
Document Weighting and Sorting Discussion
SamHendley asked how to weight a document based on age and offered a sorting method. Jason clarified the method and suggested an RC for use. SamHendley tested and confirmed the solution. User Kishore Nallan assisted when an error occurred with a new feature.
Adjusting Text Match Score Calculation in TypeSense
Johannes wanted to modify the Text Match Score calculation in TypeSense to improve search results returns. With counsel from Jason and Kishore Nallan, various solutions were proposed, including creating a Github issue, attempting different parameters, and updating Docker to a new version to resolve the matter.