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:
Christoph Goller 2004-10-12 09:42:02 +00:00
parent 5d4c27b23d
commit 25d89037c6
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ import java.io.IOException;
public final class FuzzyQuery extends MultiTermQuery {
public final static float defaultMinSimilarity = 0.5f;
public final static int defaultPrefixLength = 2;
public final static int defaultPrefixLength = 0;
private float minimumSimilarity;
private int prefixLength;