lib/tire/search/query.rb
# as of ES 0.90.4 function_score replaces custom_score, custom_score is deprecated
as of ES 0.90.4 function_score replaces custom_score, custom_score is deprecated
as of ES 0 . 90 . 4 function_score replaces custom_score custom_score is deprecated
def function_score(options={}, &block)
        @function_score ||= Query.new(&block)
        @value[:function_score] = options
        @value[:function_score].update({:query => @function_score.to_hash})
        @value
      end
def function_score ( options = { } , & block ) @function_score ||= Query . new ( & block ) @value [ :function_score ] = options @value [ :function_score ] . update ( { :query => @function_score . to_hash } ) @value end
as of ES 0.90.4 function_score replaces custom_score, custom_score is deprecated
as of ES 0 . 90 . 4 function_score replaces custom_score custom_score is deprecated
options
<not_specific>
block
<not_specific>