How to create dynamic search suggestions?

I want to show suggestion while searching. For example sentence could be like "profit of NK Store in jan compared to feb". If someone types "profit of N", I want to show every store name starting with N or every product starting with N. If someone types "profit of NK Store in J", I want to show Jan, June, July as suggestion starting with J.

That looks to be a search syntax of your own invention.
You'll need to write a custom parser that translates that language into the elasticsearch query DSL.

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