lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gol...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search FuzzyQuery.java
Date Tue, 12 Oct 2004 09:42:02 GMT
goller      2004/10/12 02:42:02

  Modified:    src/java/org/apache/lucene/search FuzzyQuery.java
  Log:
  default prefix length set to 0 instead of 2 until our test
  suggest a better value
  
  Revision  Changes    Path
  1.10      +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/FuzzyQuery.java
  
  Index: FuzzyQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/FuzzyQuery.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- FuzzyQuery.java	10 Oct 2004 18:43:18 -0000	1.9
  +++ FuzzyQuery.java	12 Oct 2004 09:42:02 -0000	1.10
  @@ -28,7 +28,7 @@
   public final class FuzzyQuery extends MultiTermQuery {
     
     public final static float defaultMinSimilarity = 0.5f;
  -  public final static int defaultPrefixLength = 2;
  +  public final static int defaultPrefixLength = 0;
     
     private float minimumSimilarity;
     private int prefixLength;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message