Bill (et al.) : The issue I'm running into (apologies for explaining it poorly previously) is how to reference the query term in the definition of "bf" in solrconfig.
e.g. I can statically define the search term (in this case "love") in solrconfig.xml, and results are as I desire: <lst name="defaults"> <str name="defType">dismax</str> <str name="qf">content^200</str> <str name="bq">boost_max:love^100</str> <str name="bq">boost_high:love^50</str> <str name="bq">boost_medium:love^25</str> <str name="bq">boost_low:love^10</str> </lst> I'm hoping to generically define "bq" such that any specific query is boosted in the same way (e.g. if I searched for "hate" these 4 fields would return boosts like "boost_low:hate^10" defining these fields like so: <str name="bq">boost_low^10</str> results in : PhraseQuery(content:"boost low"^10.0), which is just a search for the string of the field I'm attempting to use to boost. defining these fields as boostFunction fields like so: <str name="bf">boost_low^10</str> results in : FunctionQuery((ord(boost_low))^10.0), which boost based solely on if the field is populated, regardless of content. I had hoped there was a way to reference the queryterm in my definition some way, like so: <str name="bq">boost_low:$q^10</str> -- View this message in context: http://lucene.472066.n3.nabble.com/Using-Boost-fields-for-a-sum-total-score-tp2958968p2967312.html Sent from the Solr - User mailing list archive at Nabble.com.