Edge Ngram Analzer with tokenchars "letter" "digit" and "-"

i try to create a edge-ngram analyzer for "Letter" "digit" and "-" and found no solution

here for the Documentation
"settings": {
"analysis": {
"analyzer": {
"my_analyzer": {
"tokenizer": "my_tokenizer"
}
},
"tokenizer": {
"my_tokenizer": {
"type": "edge_ngram",
"min_gram": 2,
"max_gram": 10,
"token_chars": [
"letter", <-- works
"digit" ,<-- works
"symbol" does not work ##### How to create a token char "-"
]
}
}
}
}

Any suggestions. Thanks a lot in advance

there seems to be a discussion on

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.