@meirsh Thanks for the suggestion, I see, I think I overcomplicated this a little bit.
Anyways if the word is a long one, this would still return 0. Eg: given an indexed value: International Man of Mystery
By querying intr
the query would most likely fail cause the high LD, so I came up with an idea if charlen < 4
I am using the *
prefix search, after it I am using the LD you mentioned.
Not sure if its a good solution, but seems to work for now:D
Thanks again for your replies!