change defaul fuzziness to 2 as that is more common
This commit is contained in:
parent
3e72949563
commit
3e4969efbc
|
@ -30,7 +30,7 @@ func NewFuzzyQuery(term string) *fuzzyQuery {
|
||||||
return &fuzzyQuery{
|
return &fuzzyQuery{
|
||||||
Term: term,
|
Term: term,
|
||||||
PrefixVal: 0,
|
PrefixVal: 0,
|
||||||
FuzzinessVal: 1,
|
FuzzinessVal: 2,
|
||||||
BoostVal: 1.0,
|
BoostVal: 1.0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user