Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module implements the Orchestrate Search API.
- query :: FromJSON v => Collection -> QueryText -> Maybe Int -> Maybe Int -> OrchestrateIO (SearchList v)
Documentation
:: FromJSON v | |
=> Collection | The collection to query. |
-> QueryText | The query. |
-> Maybe Int | The maximum number of items to return. |
-> Maybe Int | The offset into the search results. |
-> OrchestrateIO (SearchList v) | Returns the results of the query with their scores. |
This performs the query and returns the results.
query "coll-name" "query" (Just 25) Nothing