class Solr::Query::Request::Boosting::FieldValueMatchBoostFunction

Attributes

boost_magnitude[R]
field[R]
value[R]

Public Class Methods

new(field:, value:, boost_magnitude:) click to toggle source
# File lib/solr/query/request/boosting/field_value_match_boost_function.rb, line 10
def initialize(field:, value:, boost_magnitude:)
  @field = field
  @value = value
  @boost_magnitude = boost_magnitude
  freeze
end

Public Instance Methods

solr_field() click to toggle source
# File lib/solr/query/request/boosting/field_value_match_boost_function.rb, line 17
def solr_field
  solarize_field(field)
end