title: Best way to save users search queries in ElasticSearch?
body: <p>I am developing application that uses ElasticSearch and SQL database.
  So, what is the best way to save users search queries and show statistics like what are the most popular requests? The simply way is to save in SQL database and count. But maybe there are some technique built in ElasticSearch?</p>