lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r808051 - /lucene/java/trunk/src/java/org/apache/lucene/search/FuzzyQuery.java
Date Wed, 26 Aug 2009 15:23:34 GMT
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 {
   



Mime
View raw message