goller      2004/11/23 11:05:15

  Modified:    src/java/org/apache/lucene/search FuzzyTermEnum.java
  Log:
  small Javadoc correction
  
  Revision  Changes    Path
  1.12      +1 -1      
jakarta-lucene/src/java/org/apache/lucene/search/FuzzyTermEnum.java
  
  Index: FuzzyTermEnum.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/FuzzyTermEnum.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FuzzyTermEnum.java        7 Nov 2004 23:41:50 -0000       1.11
  +++ FuzzyTermEnum.java        23 Nov 2004 19:05:15 -0000      1.12
  @@ -175,7 +175,7 @@
      *
      * <p>To calculate the maximum distance threshold we use the following 
formula:
      * <pre>
  -   *     (1 - minimumSimilarity) / length</pre>
  +   *     (1 - minimumSimilarity) * length</pre>
      * where length is the shortest term including any prefix that is not part 
of the
      * similarity comparision.  This formula was derived by solving for what 
maximum value
      * of distance returns false for the following statements:
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to