sphinx-0.1.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 Searchd Source

Searchd status codes

Constructors

Ok 
Error 
Retry 
Warning 

Instances

data MatchMode Source

Match modes

data Rank Source

Ranking modes (ext2 only)

Constructors

ProximityBm25 
Bm25 
None 
WordCount 

Instances

data Sort Source

Sort modes

Instances

data Filter Source

Filter types

Constructors

Values 
Range 
FloatRange 

Instances

data GroupByFunction Source

Grouping functions

Constructors

Day 
Week 
Month 
Year 
Attr 
AttrPair 

data SearchResult Source

The result of a query

Constructors

SearchResult 

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)]

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

Instances

data Match Source

Constructors

Match 

Instances

data Attr Source

Constructors

AttrMulti [Int] 
AttrNum Int 

Instances