Changed the minGramSize back to 3 (#2279)
This commit is contained in:
parent
0b6e8e3f4d
commit
88b01a3bb4
|
@ -72,7 +72,7 @@ public class HapiLuceneAnalysisConfigurer implements LuceneAnalysisConfigurer {
|
|||
.tokenFilter(LowerCaseFilterFactory.class)
|
||||
.tokenFilter(StopFilterFactory.class)
|
||||
.tokenFilter(EdgeNGramFilterFactory.class)
|
||||
.param("minGramSize", "2")
|
||||
.param("minGramSize", "3")
|
||||
.param("maxGramSize", "20");
|
||||
|
||||
theLuceneCtx.analyzer("standardAnalyzer").custom()
|
||||
|
|
|
@ -49,7 +49,7 @@ public class HapiElasticsearchAnalysisConfigurer implements ElasticsearchAnalysi
|
|||
|
||||
theConfigCtx.tokenFilter("wordedgengram_3_50")
|
||||
.type("edgeNGram")
|
||||
.param("min_gram", "2")
|
||||
.param("min_gram", "3")
|
||||
.param("max_gram", "20");
|
||||
|
||||
theConfigCtx.analyzer("autocompletePhoneticAnalyzer").custom()
|
||||
|
|
Loading…
Reference in New Issue