is this RANK value stored as a float/integer? and whats the range? one idea is you could use edismax and have a really possible long boost query: RANK:[1 TO 2]^10 OR RANK:[3 TO 4]^9 but this isnt actually a great idea and gets sloppy fast. you could apply boost at index time, or a function query at query time, both represented here: https://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_increase_the_score_for_specific_documents
On Thu, Oct 25, 2018 at 11:58 AM Amjad Khan <amjad2...@gmail.com> wrote: > Hi > > Is there a way to achieve the following - > > We have a RANK field in each document, and essentially, I would like my > score to be influenced by this RANK as follows - > > score = score*0.1 + RANK > > How can I achieve this with function queries? > > Thanks!