Hi, Use edismax query parser. boost parameter can take multiple values.
&boost=recip(geodist(destination,1.293841,103.846487),1,1000,1000) &boost=if(exists(query({!v=$b1})),100,0) On Monday, June 30, 2014 2:30 PM, Bhoomit Vasani <bhoomit.2...@gmail.com> wrote: Hello, I want to boost using multiple functions. e.g. {!boost b=recip(geodist(destination,1.293841,103.846487),1,1000,1000) b="if(exists(query({!v=$b1})),100,0)" } when I use above query Solr only considers second function. -- -- Thanks & Regards, Bhoomit Vasani | SE @ Mygola WE are LIVE <http://www.mygola.com/>! 91-8892949849