public static class StringDistanceFunctions.FuzzyScoreFunction extends Object implements DrillSimpleFunc
One point is given for every matched character. Subsequent matches yield two bonus points. A higher score indicates a higher similarity.
Usage: SELECT fuzzy_score( string1, string2 ) AS fuzzy_score FROM...
| Constructor and Description |
|---|
FuzzyScoreFunction() |
public void setup()
setup in interface DrillSimpleFuncpublic void eval()
eval in interface DrillSimpleFuncCopyright © 2021 The Apache Software Foundation. All rights reserved.