lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shamik <sham...@gmail.com>
Subject Re: Conditions in function query
Date Thu, 15 Jan 2015 03:07:22 GMT
Thanks Eric, I did take a look at the "if" condition earlier, but not sure
how that can be used for multiple conditions. It works for a single
condition :

 if(termfreq(Source2,'A'),sum(Likes,3),0)

But for multiple, I'm struggling to find the right syntax. I tried using OR
in conjunction but hasn't worked out so far.



--
View this message in context: http://lucene.472066.n3.nabble.com/Conditions-in-Boost-function-query-tp4179687p4179696.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message