class Sonic::Channels::Search

Defined in:

sonic/channels/search.cr

Instance Method Summary

Instance methods inherited from class Sonic::Channels::Base

connection : Connection connection, count(collection, bucket = nil, object = nil) count, flushb(collection, bucket) flushb, flushc(collection) flushc, flusho(collection, bucket, object) flusho, help(manual) help, ping ping, pop(collection, bucket, object, text) pop, push(collection, bucket, object, text, lang = nil) push, query(collection, bucket, terms, limit = nil, offset = nil, lang = nil) query, quit quit, suggest(collection, bucket, word, limit = nil) suggest, trigger(action) trigger

Constructor methods inherited from class Sonic::Channels::Base

new(connection : Connection) new

Instance Method Detail

def query(collection, bucket, terms, limit = nil, offset = nil, lang = nil) #

[View source]
def suggest(collection, bucket, word, limit = nil) #

[View source]