A phrase match with a small edit distance to a document passage more closely matches the document, so implementations of this method usually return larger values when the edit distance is small and smaller values when it is large. @see PhraseQuery#setSlop(int) @param distance the edit distance of this sloppy phrase match @return the frequency increment for this match
|
|
|
|
|
|
|
|