title: ElasticSearch Hitboosting
body: <p>Im looking for a way to perform some sort of hitboosting on search results, so that results that are clicked more frequently appears higher on the list. </p>
  
  <p>Im thinking about storing a document in a different index (ex. "<code>click_statistics</code>" everytime someone clicks on a result, store a new document with the <code>_id</code> of the search result clicked as a field. This seems like a suitable way of doing it, and it helps me keep the statistics even when re-indexing the main index. (If you have any other suggestions, please share) </p>
  
  <p>But i have no idea on how i can combine the count from the second index, and then include some sort of scoring based on that count to the search. </p>