1
0
mirror of https://github.com/hapifhir/hapi-fhir.git synced 2025-03-09 14:33:32 +00:00

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

@ -39,7 +39,7 @@ public class ElasticsearchMappingProvider implements ElasticsearchAnalysisDefini
builder.analyzer("autocompleteWordEdgeAnalyzer") builder.analyzer("autocompleteWordEdgeAnalyzer")
.withTokenizer("standard") .withTokenizer("standard")
.withTokenFilters("lowercase", "stop", "edgengram_3_50"); .withTokenFilters("lowercase", "stop", "edgengram_3_50");
builder.tokenFilter("edgengram_3_50") builder.tokenFilter("wordedgengram_3_50")
.type("edgeNGram") .type("edgeNGram")
.param("min_gram", "2") .param("min_gram", "2")
.param("max_gram", "20"); .param("max_gram", "20");