Changed hunspell token filter factory to use "dedup = true" by default
This commit is contained in:
parent
0d3b7871df
commit
f430953ca1
|
@ -50,7 +50,7 @@ public class HunspellTokenFilterFactory extends AbstractTokenFilterFactory {
|
||||||
throw new ElasticSearchIllegalArgumentException(String.format("Unknown hunspell dictionary for locale [%s]", locale));
|
throw new ElasticSearchIllegalArgumentException(String.format("Unknown hunspell dictionary for locale [%s]", locale));
|
||||||
}
|
}
|
||||||
|
|
||||||
dedup = settings.getAsBoolean("dedup", false);
|
dedup = settings.getAsBoolean("dedup", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue