module ThinkingSphinx::SphinxQL

Public Class Methods

functions!() click to toggle source
# File lib/thinking_sphinx/sphinxql.rb, line 4
def self.functions!
  self.weight   = 'weight()'
  self.group_by = 'groupby()'
  self.count    = 'count(*)'
end
variables!() click to toggle source
# File lib/thinking_sphinx/sphinxql.rb, line 10
def self.variables!
  self.weight   = '@weight'
  self.group_by = '@groupby'
  self.count    = '@count'
end