You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Corey Gerhardt <Co...@directwest.com> on 2014/10/15 19:33:43 UTC

Combine boosts

Using Edismax.

Is it possible to have multiple functions in a boost?

For example boost = (if(not(BUS_IS_TOLL_FREE),log(10),product(log(10),0.1))) & if(exists(query({!v="BUS_CITY:saskatoon"})),20,1)

Thanks,

Corey

RE: Combine boosts

Posted by Corey Gerhardt <Co...@directwest.com>.
I realized the problem is my code.  A person can send multiple boost parameters.  I have a quirk in that I'm using solrnet but can probably find a work around.

Corey

-----Original Message-----
From: Corey Gerhardt [mailto:Corey.Gerhardt@directwest.com] 
Sent: October-15-14 11:34 AM
To: Solr User List
Subject: Combine boosts

Using Edismax.

Is it possible to have multiple functions in a boost?

For example boost = (if(not(BUS_IS_TOLL_FREE),log(10),product(log(10),0.1))) & if(exists(query({!v="BUS_CITY:saskatoon"})),20,1)

Thanks,

Corey