mirror of https://github.com/apache/lucene.git
LUCENE-722: DEFAULT spelled DEFALT in MoreLikeThis.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477932 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d98c449203
commit
5cf957527f
|
@ -125,6 +125,12 @@ API Changes
|
|||
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
|
||||
|
|
|
@ -175,7 +175,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.
|
||||
|
@ -240,7 +240,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?
|
||||
|
@ -333,7 +333,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.
|
||||
|
|
Loading…
Reference in New Issue