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

Text.Search.Sphinx.Types

Synopsis

Documentation

data VerCommand Source

Current client-side command implementation versions

Instances

data Status Source

Important! 2.0 compatible

Searchd status codes

Constructors

OK 
RETRY 
WARNING 
ERROR Int 

Instances

data QueryStatus Source

status from an individual query

Instances

data MatchMode Source

Match modes

data Rank Source

Ranking modes (ext2 only)

Instances

data Sort Source

Sort modes

Instances

data AttrT Source

shortcut for creating an exclusion filter

Attribute types

Instances

data GroupByFunction Source

Grouping functions

Constructors

Day 
Week 
Month 
Year 
Attr 
AttrPair 

data QueryResult Source

The result of a query

Constructors

QueryResult 

Fields

matches :: [Match]

The matches

total :: Int

Total amount of matches retrieved on server by this query.

totalFound :: Int

Total amount of matching documents in index.

words :: [(ByteString, Int, Int)]

processed words with the number of docs and the number of hits.

attributeNames :: [ByteString]

List of attribute names returned in the result. | The Match will contain just the attribute values in the same order.

Instances

data SingleResult Source

a single query result, runQueries returns a list of these

Instances

data Result a Source

a result returned from searchd

Instances

Show a => Show (Result a) 

data Match Source

Constructors

Match 

Instances

data ByteString

A space-efficient representation of a Word8 vector, supporting many efficient operations. A ByteString contains 8-bit characters only.

Instances of Eq, Ord, Read, Show, Data, Typeable