It turns out that the solution I was looking to is additive boost.

Thanks for the help :)


On Mon, Jun 30, 2014 at 5:14 PM, Jack Krupansky <j...@basetechnology.com>
wrote:

> Do you want them to be additive or multiplicative? Just add or multiply
> them yourself with the "add"/"sum" or "mul"/"product" functions.
>
> See:
> https://cwiki.apache.org/confluence/display/solr/Function+Queries
>
> If you are using the dismax or edismax query parsers you can also use
> separate request parameters for each boost.
>
> See:
> https://cwiki.apache.org/confluence/display/solr/The+
> Extended+DisMax+Query+Parser
>
> -- Jack Krupansky
>
> -----Original Message----- From: Bhoomit Vasani
> Sent: Monday, June 30, 2014 7:30 AM
> To: solr-user@lucene.apache.org
> Subject: How do I use multiple boost functions?
>
>
> 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
>



-- 
-- 
Thanks & Regards,
Bhoomit Vasani | SE @ Mygola
WE are LIVE <http://www.mygola.com/>!
91-8892949849

Reply via email to