Changed name for new tokenFilter to make it unique.

This commit is contained in:
ianmarshall 2020-11-27 11:38:24 -05:00
parent be88a256d0
commit bbba4428ee
1 changed files with 1 additions and 1 deletions

View File

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