Skip to content

Commit

Permalink
Fix tokenizer config in example
Browse files Browse the repository at this point in the history
The camel cased nGram tokenizer is not allowed any more in
Elasticsearch 8.x. Instead the lowercase ngram must be used.

See:
https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-8.0.html#nGram-edgeNGram-tokenizer-dreprecation
  • Loading branch information
astehlik authored and dvesh3 committed Sep 12, 2023
1 parent 77dd0fc commit a432b3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pimcore_ecommerce_framework:
- allow_list_filter
tokenizer:
my_ngram_tokenizer:
type: nGram
type: ngram
min_gram: 2
max_gram: 15
token_chars: [letter, digit]
Expand Down

0 comments on commit a432b3e

Please sign in to comment.