Sha256: 9cc32e02f5333ea39eefbed4a46fa81ca9f417b2b8a79b91042f826f953e0d1e
Contents?: true
Size: 637 Bytes
Versions: 3
Compression:
Stored size: 637 Bytes
Contents
module SwiftypeAppSearch class Client module QuerySuggestion # Request Query Suggestions # # @param [String] engine_name the unique Engine name # @param [String] query the search query to suggest for # @options options see the {App Search API}[https://swiftype.com/documentation/app-search/] for supported search options. # # @return [Hash] search results def query_suggestion(engine_name, query, options = {}) params = Utils.symbolize_keys(options).merge(:query => query) request(:post, "engines/#{engine_name}/query_suggestion", params) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems