What should be the value of max_gram and min_gram in Elastic search

Hello, I have a question regarding ngram configurations. Elastic search documentation says

It usually makes sense to set min_gram and max_gram to the same value.

Perhaps, too much of difference between min and max grams will increase the index storage.

But there are many blogs which are using max_gram as 8 or 20 to get higher accurate results.

I am confused between the two. Which should be the one to use?
What are pros and cons of both?

Note: My use case deals with indexing of article. Article content is usually of size 150KB.


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