Apache Lucene open-source search software
LUCENE-722: DEFAULT spelled DEFALT in MoreLikeThis.java
Daniel Naberdab153b256b5
diff --git a/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java b/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.javaindex 081be7295ca..26b1c4c3f0b 100644--- a/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java+++ b/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java@@ -174,7 +174,7 @@ public final class MoreLikeThis {* @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.@@ -239,7 +239,7 @@ public final class MoreLikeThis {/*** 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?@@ -332,7 +332,7 @@ public final class MoreLikeThis {/*** 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.