Question: what is ngram in elasticsearch?
Answer: The ngram tokenizer first breaks text down into words whenever it encounters one of a list of specified characters, then it emits N-grams of each word of the specified length. ... They are useful for querying languages that don't use spaces or that have long compound words, like German.