Method: Sunspot::DSL::Function#sub

Defined in:
lib/sunspot/dsl/function.rb

#sub(*args) ⇒ Object

Special case to handle <wiki.apache.org/solr/FunctionQuery#sub> because ‘Kernel#sub` exists so `method_missing` will not be called for this function.



11
12
13
# File 'lib/sunspot/dsl/function.rb', line 11

def sub(*args) #:nodoc:
  create_function_query(:sub, *args)
end