Ellen Cooper
10/21/2022, 10:39 PMprioritize_exact_match
is set to true, it weights exact matches very heavily in the scoring. As a simplified example, if we have records with two fields - title and tags - the desired behavior would be to have exact matches for title show up first, then inexact matches for title, then exact matches for tags, etc. However because prioritize_exact_match
is weighted so much heavier compared to the query_by_weights
, we can’t achieve this even if the title is weighed at 127 and the tag is weighted at 1. Any ideas on ways to work around this? As an aside it would be great if prioritize_exact_match
was a numerical value so there could be more flexibility!Jason Bosco
10/21/2022, 10:45 PMprioritize_exact_match
to false?Jason Bosco
10/21/2022, 10:48 PM0.24.0.rcn22
, we tweaked some related behavior in 0.24.xEllen Cooper
10/21/2022, 11:03 PMEllen Cooper
10/21/2022, 11:06 PMJason Bosco
10/21/2022, 11:07 PMprioritize_exact_match
to override this behavior across fields, so regardless of weight, if an exact match occurs it will be prioritized when this flag is trueEllen Cooper
10/21/2022, 11:39 PM