2012-08-26 04:09:00 +00:00
|
|
|
module Robbie
|
|
|
|
class Autocomplete
|
|
|
|
class << self
|
|
|
|
def complete(q)
|
|
|
|
Parsers::Search.autocomplete(q)
|
|
|
|
end
|
|
|
|
|
|
|
|
def predict(q)
|
|
|
|
Parsers::Search.single_stage_search(q)
|
|
|
|
end
|
2012-09-18 22:42:20 +00:00
|
|
|
|
|
|
|
def search(q)
|
|
|
|
Parsers::Search.search(q)
|
|
|
|
end
|
2012-08-26 04:09:00 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|