EdgeNGram at search time

Hello, I am using EdgeNgram in elastic. My main problem is that I want to set minGram and maxGram at search time and not at indexing time.That because I get many unrelated results.I want to set minGram as the size of the word user has typed and maxGram the word user has typed +1.Is there any technique or way I am ignoring?

The solution is to use EdgeNGram only on indexing analyzers.The must not be used on searching analyzers.