class Solr::Query::Request::Boosting::TextualFieldValueMatchBoostFunction
Public Instance Methods
to_solr_s()
click to toggle source
# File lib/solr/query/request/boosting/textual_field_value_match_boost_function.rb, line 6 def to_solr_s "if(termfreq(#{solr_field},'#{value}'),#{boost_magnitude},1)" end