Modifying relevance score in elasticsearch using results from another query
<p>A project I am working on utilizes elasticsearch as a search engine. I also am using a graph database to keep track of user actions and the relationships between queries, clicks, etc. </p>

<p>What I want to do is index queries and their top results from the graph database into elasticsearch, so at query time, I can boost the elasticsearch _score by the score provided by the graph database. Is this possible in elasticsearch itself? Or do I need to do the boosting externally? </p>