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:
Mark Robert Miller 2009-08-26 15:23:27 +00:00
parent 75df7fc776
commit bd14e0c056
1 changed files with 6 additions and 1 deletions

View File

@ -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 {