Oliver Carvajal
03/09/2023, 4:19 PMChris Schmidt
, and I’m querying by first name, last name. However I’m getting results matched just by Chris, and no matches by the lastName, so for example I would get Chris Rogers, Chris Williams etc above Christopher Schmidt, I believe this is because it’s taking it as a whole sentence instead of per word, so my question is
How could I get matches both by Chris
and Schmidt
🙌🏻Jason Bosco
03/09/2023, 4:42 PMChris Schmidt
and when it doesn’t find a full exact match, it then tries to drop words from the query (configured by drop_tokens_threshold
) and searches just Chris
and Schmidt
.
If you’ve configured first_name to have higher priority (based on order of fields in query_by
) it then finds an exact match for Chris
and prioritizes those records first in the results.Jason Bosco
03/09/2023, 4:42 PMJason Bosco
03/09/2023, 4:43 PMOliver Carvajal
03/10/2023, 3:58 PMweights
the same & set prioritize exact match
to false, it would not take into account Schmidt
& return the results for Chris
. Do you think there’s a workaround to also take into account the second word when dropping words?
Thanks added this to the Feature request, it would be awesome 🙌🏻Jason Bosco
03/11/2023, 12:12 AMdrop_tokens_treshold: 1000
and set max_candidates: 1000
to see if that helps?