diff --git a/src/main/java/org/elasticsearch/index/analysis/HunspellTokenFilterFactory.java b/src/main/java/org/elasticsearch/index/analysis/HunspellTokenFilterFactory.java index 08c355bc7da..a1f1a32b18c 100644 --- a/src/main/java/org/elasticsearch/index/analysis/HunspellTokenFilterFactory.java +++ b/src/main/java/org/elasticsearch/index/analysis/HunspellTokenFilterFactory.java @@ -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