Module: ThinkingSphinx::Query

Defined in:
lib/thinking_sphinx/query.rb

Class Method Summary collapse

Class Method Details

.escape(query) ⇒ Object



4
5
6
# File 'lib/thinking_sphinx/query.rb', line 4

def self.escape(query)
  Riddle::Query.escape query
end

.wildcard(query, pattern = true) ⇒ Object



8
9
10
# File 'lib/thinking_sphinx/query.rb', line 8

def self.wildcard(query, pattern = true)
  ThinkingSphinx::Wildcard.call query, pattern
end