Changed hunspell token filter factory to use "dedup = true" by default

This commit is contained in:
uboness 2013-05-01 23:57:14 +02:00
parent 0d3b7871df
commit f430953ca1
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class HunspellTokenFilterFactory extends AbstractTokenFilterFactory {
throw new ElasticSearchIllegalArgumentException(String.format("Unknown hunspell dictionary for locale [%s]", locale));
}
dedup = settings.getAsBoolean("dedup", false);
dedup = settings.getAsBoolean("dedup", true);
}
@Override