|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xquery.functions.text.FuzzyMatcher
A fuzzy implementation of TermMatcher
. It calculates
the Levenshtein distance between the index and the search term.
Constructor Summary | |
FuzzyMatcher(java.lang.String searchTerm,
double threshold)
|
Method Summary | |
boolean |
matches(java.lang.CharSequence text)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FuzzyMatcher(java.lang.String searchTerm, double threshold)
Method Detail |
public boolean matches(java.lang.CharSequence text)
matches
in interface TermMatcher
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |