Elasticsearch: The suggest functionality

Hello,
The suggest functionality works on our data in the index ,but I want to exploit the research history in order to improve The suggest functionality.

How I can put research query into my index?

Hi,
this is something that you need to do in whatever client application drives your search. There's a lot of application specific decisions to be made when you do, that's why Elasticsearch cannot do this out of the box.