lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r477932 - in /lucene/java/trunk: CHANGES.txt contrib/similarity/src/java/org/apache/lucene/search/similar/MoreLikeThis.java
Date Tue, 21 Nov 2006 22:26:45 GMT
Author: dnaber
Date: Tue Nov 21 14:26:45 2006
New Revision: 477932

URL: http://svn.apache.org/viewvc?view=rev&rev=477932
Log:
LUCENE-722: DEFAULT spelled DEFALT in MoreLikeThis.java

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/contrib/similarity/src/java/org/apache/lucene/search/similar/MoreLikeThis.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?view=diff&rev=477932&r1=477931&r2=477932
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Tue Nov 21 14:26:45 2006
@@ -125,6 +125,12 @@
     Lucene to work correctly over NFS (second step is
     LUCENE-710). (Mike McCandless)
 
+11. LUCENE-722: DEFAULT_MIN_DOC_FREQ was misspelled DEFALT_MIN_DOC_FREQ
+    in Similarity's MoreLikeThis class. The misspelling has been
+    replaced by the correct spelling.
+    (Andi Vajda via Daniel Naber)
+
+
 Bug fixes
 
  1. Fixed the web application demo (built with "ant war-demo") which

Modified: lucene/java/trunk/contrib/similarity/src/java/org/apache/lucene/search/similar/MoreLikeThis.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/similarity/src/java/org/apache/lucene/search/similar/MoreLikeThis.java?view=diff&rev=477932&r1=477931&r2=477932
==============================================================================
--- lucene/java/trunk/contrib/similarity/src/java/org/apache/lucene/search/similar/MoreLikeThis.java
(original)
+++ lucene/java/trunk/contrib/similarity/src/java/org/apache/lucene/search/similar/MoreLikeThis.java
Tue Nov 21 14:26:45 2006
@@ -175,7 +175,7 @@
 	 * @see #getMinDocFreq
 	 * @see #setMinDocFreq	 
      */
-    public static final int DEFALT_MIN_DOC_FREQ = 5;
+    public static final int DEFAULT_MIN_DOC_FREQ = 5;
 
     /**
      * Boost terms in query based on score.
@@ -240,7 +240,7 @@
     /**
      * Ignore words which do not occur in at least this many docs.
      */
-    private int minDocFreq = DEFALT_MIN_DOC_FREQ;
+    private int minDocFreq = DEFAULT_MIN_DOC_FREQ;
 
     /**
      * Should we apply a boost to the Query based on the scores?
@@ -333,7 +333,7 @@
 
     /**
      * Returns the frequency at which words will be ignored which do not occur in at least
this
-     * many docs. The default frequency is {@link #DEFALT_MIN_DOC_FREQ}.
+     * many docs. The default frequency is {@link #DEFAULT_MIN_DOC_FREQ}.
      *
      * @return the frequency at which words will be ignored which do not occur in at least
this
      * many docs.



Mime
View raw message