#community-help

Discussing 'Text Matches' Feature Improvement in Typesense

TLDR Stefan asked if distance in 'text matches' can be determined. Kishore Nallan said no and asked for an issue to be created on Github, which was done by Stefan.

Powered by Struct AI
5
23mo
Solved
Join the chat
Oct 29, 2021 (23 months ago)
Stefan
Photo of md5-d6c265b4792dbf0a1d6ae378f39d8736
Stefan
06:59 AM
Is there an easy to tell when the "text matches" are pretty far? As in only 3 out 6 tokens were matched or something? I'd like to use this distance to show something like: "Can't find what you are looking for? Request here"
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
07:05 AM
No there's no easy way to tell this. The match score is an aggregation of multiple scores but the components are not directly exposed. Can you please create an issue for this on Github? I think it will be great to expose the ranking information.
Stefan
Photo of md5-d6c265b4792dbf0a1d6ae378f39d8736
Stefan
07:09 AM
on it
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
07:15 AM
:ty: