Class: Sunspot::Query::FunctionQuery

Inherits:
Object
  • Object
show all
Includes:
RSolr::Char
Defined in:
lib/sunspot/query/function_query.rb

Overview

Abstract class for function queries.

Instance Method Summary collapse

Instance Method Details

#^(y) ⇒ Object



9
10
11
12
# File 'lib/sunspot/query/function_query.rb', line 9

def ^(y)
  @boost_amount = y
  self
end