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.