Relevant Search: With applications for Solr and Elasticsearch