You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by ma...@apache.org on 2009/08/26 17:23:34 UTC
svn commit: r808051 -
/lucene/java/trunk/src/java/org/apache/lucene/search/FuzzyQuery.java
Author: markrmiller
Date: Wed Aug 26 15:23:27 2009
New Revision: 808051
URL: http://svn.apache.org/viewvc?rev=808051&view=rev
Log:
add a scalability warning to FuzzyQuery
Modified:
lucene/java/trunk/src/java/org/apache/lucene/search/FuzzyQuery.java
Modified: lucene/java/trunk/src/java/org/apache/lucene/search/FuzzyQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/FuzzyQuery.java?rev=808051&r1=808050&r2=808051&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/FuzzyQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/FuzzyQuery.java Wed Aug 26 15:23:27 2009
@@ -24,8 +24,13 @@
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 {