mirror of https://github.com/apache/lucene.git
add a scalability warning to FuzzyQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808051 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
75df7fc776
commit
bd14e0c056
|
@ -24,8 +24,13 @@ import org.apache.lucene.util.ToStringUtils;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
/** Implements the fuzzy search query. The similiarity measurement
|
||||
/** Implements the fuzzy search query. The similarity measurement
|
||||
* is based on the Levenshtein (edit distance) algorithm.
|
||||
*
|
||||
* Warning: this query is not very scalable with its default prefix
|
||||
* length of 0 - in this case, *every* term will be enumerated and
|
||||
* cause an edit score calculation.
|
||||
*
|
||||
*/
|
||||
public class FuzzyQuery extends MultiTermQuery {
|
||||
|
||||
|
|
Loading…
Reference in New Issue