orchestrate-0.2.0.0: An API client for http://orchestrate.io/.

Safe HaskellNone
LanguageHaskell2010

Database.Orchestrate.Search

Description

This module implements the Orchestrate Search API.

Synopsis

Documentation

query Source

Arguments

:: 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