Hello everyone, In Typesense, how do I penalize se...
# community-help
a
Hello everyone, In Typesense, how do I penalize search results in multisearch if one of the search criteria is not identified, so that the search results are ordered by those with the most identified criteria? Thanks in advance for your help!
j
You can use filter_by expressions inside of sort_by and assign scores to each filter_by expression, to sort each class of matches differently: https://typesense.org/docs/26.0/api/search.html#sorting-based-on-filter-score