mirror of https://github.com/apache/lucene.git
default prefix length set to 0 instead of 2 until our test
suggest a better value git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150598 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5d4c27b23d
commit
25d89037c6
|
@ -28,7 +28,7 @@ import java.io.IOException;
|
||||||
public final class FuzzyQuery extends MultiTermQuery {
|
public final class FuzzyQuery extends MultiTermQuery {
|
||||||
|
|
||||||
public final static float defaultMinSimilarity = 0.5f;
|
public final static float defaultMinSimilarity = 0.5f;
|
||||||
public final static int defaultPrefixLength = 2;
|
public final static int defaultPrefixLength = 0;
|
||||||
|
|
||||||
private float minimumSimilarity;
|
private float minimumSimilarity;
|
||||||
private int prefixLength;
|
private int prefixLength;
|
||||||
|
|
Loading…
Reference in New Issue