Method: Orchestrate::Client#search
- Defined in:
- lib/orchestrate/client.rb
#search(collection, query, options = {}) ⇒ Object
Search the items in a collection using a Lucene Query Syntax.
75 76 77 78 |
# File 'lib/orchestrate/client.rb', line 75 def search(collection, query, ={}) send_request :get, [collection], { query: .merge({query: query}), response: API::CollectionResponse } end |