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