riak-1.2.0.0: A Haskell client for the Riak decentralized data store
Safe HaskellNone
LanguageHaskell2010

Network.Riak.Search

Description

Synopsis

Documentation

type IndexInfo = RpbYokozunaIndex Source #

Search index info

type Score = Double Source #

Search result score

indexInfo :: Index -> Maybe Schema -> Maybe N -> IndexInfo Source #

IndexInfo smart constructor.

If Nothing, schema defaults to "_yz_default".

If Nothing, n defaults to the default n value for buckets that have not explicitly set the property. In the default installation of riak, this is 3 (see https://github.com/basho/riak_core/blob/develop/priv/riak_core.schema).

searchRaw :: Connection -> SearchQuery -> Index -> IO SearchResult Source #

Search by raw SearchQuery request (a Bytestring) using an Index.