✅ String search by user text input algorithm
I have a list of some objects that have a "name" string, what is the best way to search for an object by getting an input string from a textbox?
I tried sorting them by Levenshtein distance, but it doesn't really work that well when, for example, one string is shorter than other
What algorithms are standard?
I'm sure that there is a solution for this kind of thing as such "search by text input" is everywhere, but I couldn't find a good answer
I tried sorting them by Levenshtein distance, but it doesn't really work that well when, for example, one string is shorter than other
What algorithms are standard?
I'm sure that there is a solution for this kind of thing as such "search by text input" is everywhere, but I couldn't find a good answer
