> Is there anyway in a query, I can boost the relevance of a > hit based on the value of a numerical field in the index. > i.e higher the value of the field, more relevant the hit > is.
Yes it is possible. Like view count, popularity etc. You can use e(dismax)'s bf boosting function (additive or multiplicative. http://wiki.apache.org/solr/ExtendedDisMax#boost_.28Boost_Function.2C_multiplicative.29 http://wiki.apache.org/solr/ExtendedDisMax#bf_.28Boost_Function.2C_additive.29 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org