Hi Saroj, You could use the boost function in a FunctionQuery. Something similar to,
_val_:Title^10 and _val_:Keyword^2 _val_:Title^2 and _val_:Keyword^10 See http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documentson how to use the boost function. Thanks, Indika On 31 October 2012 10:48, roz dev <rozde...@gmail.com> wrote: > Hi All > > I am wondering if there is any way in which we can change the relative > boost of different fields in edismax, at the run-time. > > For example, I can define 2 fields in my edismax query > > -Title - boosted to 10 > -Keyword - Boosted to 2 > > > Then, If I find that results are not of my liking then I would like to > change the boost as following > > - Title - boosted to 2 > -Keyword - boosted to 10 > > Is there any way to change this boost, at run-time, without having to > restart solr with new boosts in edismax? > > Any thoughts are much appreciated. > > Thanks > Saroj >