sphinx-0.6.1: Haskell bindings to the Sphinx full-text searching daemon.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Search.Sphinx.Indexable

Documentation

type Id = Int Source #

class SphinxSchema a where Source #

Methods

toDocument :: a -> (Id, [(String, Attr)]) Source #

Convert a value of a to a document with a document id and some attributes and fields.

schema :: a -> [(String, SchemaType)] Source #

The first parameter should be ignored, but is used to satisfy Haskell's type system.