Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Using opensearch-java 2.6.0
Describe the issue:
When I am using NGramTokenFilter java class, I see no token_chars property,
when I am creating ngram_filter from json, and use Deserialization to map settings.json to java request - token_chars is omitted and do not send to the server.
Example of json:
{
…,
“ngram_filter:” {
“type”:“ngram”,
“min_gram”: “1”,
“max_gram”: “20”,
“token_chars”:[“letter”,“digit”]
}
}
I got all other properties saved, but not token_chars