Changed name for new tokenFilter to make it unique.
This commit is contained in:
parent
be88a256d0
commit
bbba4428ee
|
@ -38,7 +38,7 @@ public class ElasticsearchMappingProvider implements ElasticsearchAnalysisDefini
|
|||
|
||||
builder.analyzer("autocompleteWordEdgeAnalyzer")
|
||||
.withTokenizer("standard")
|
||||
.withTokenFilters("lowercase", "stop", "edgengram_3_50");
|
||||
.withTokenFilters("lowercase", "stop", "wordedgengram_3_50");
|
||||
builder.tokenFilter("wordedgengram_3_50")
|
||||
.type("edgeNGram")
|
||||
.param("min_gram", "2")
|
||||
|
|
Loading…
Reference in New Issue