Add top_scoring support to Elasticsearch plugin