sphinx-0.2.1: Haskell bindings to the Sphinx full-text searching deamon.

Text.Search.Sphinx.Indexable

Documentation

data AttrType Source

Constructors

AString 
AInt 

type Id = IntSource

class SphinxSchema a whereSource

Methods

toDocument :: a -> (Id, [(String, Indexable)])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.