Currently, the fuzzy string matching is done by combining the similarity estimates from the Damerau-Levenshtein and Ratcliff-Obershelp algorithms in quadrature. This turns out to be far too slow in situations where a) the two strings being compared are both fairly large, or b) where there are a large number of results in the result set.
Currently, the fuzzy string matching is done by combining the similarity estimates from the Damerau-Levenshtein and Ratcliff-Obershelp algorithms in quadrature. This turns out to be far too slow in situations where a) the two strings being compared are both fairly large, or b) where there are a large number of results in the result set.
The Ukkonen algorithm could potentially serve as an accelerated Damerau-Levenshtein replacement. https://stackoverflow.com/questions/4057513/levenshtein-distance-algorithm-better-than-onm http://www.berghel.net/publications/asm/asm.php