Changed name for new tokenFilter to make it unique.

This commit is contained in:
ianmarshall 2020-11-27 11:32:08 -05:00
parent 08a59413c6
commit be88a256d0
1 changed files with 1 additions and 1 deletions

View File

@ -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");