문제

Anyone know if there is any Edit Distance similarity implementation, like Levenshtein in Lucene/Solr? Thanks

도움이 되었습니까?

해결책

Yes, fuzzy queries and fuzzy term enumeration use Levenshtein edit distance.

다른 팁

Solr has both Levenstein and Jaro-Winkler as query functions, which means you can sort on them, add them to the returned documents or use them to compute the document score http://wiki.apache.org/solr/FunctionQuery#strdist

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top