Based on the sources of the Java specification of Elasticsearch NGramTokenFilter does not have a tokenChars field, however, such field is present in NGramTokenizer. I can assume that you need the tokenizer. Tokenizers split input for tokens and filters filter generated tokens. You can write custom tokenizer to combine your tokenizer with your filter conditions.