Safe Haskell | Safe-Infered |
---|
- data SearchdCommand
- = ScSearch
- | ScExcerpt
- | ScUpdate
- | ScKeywords
- searchdCommand :: SearchdCommand -> Int
- data VerCommand
- = VcSearch
- | VcExcerpt
- | VcUpdate
- | VcKeywords
- verCommand :: Num a => VerCommand -> a
- data Status
- data QueryStatus
- = QueryOK
- | QueryWARNING
- | QueryERROR Int
- toQueryStatus :: Int -> QueryStatus
- toStatus :: Int -> Status
- data MatchMode
- data Rank
- data Sort
- = Relevance
- | AttrDesc
- | AttrAsc
- | TimeSegments
- | SortExtended
- | Expr
- data Filter
- exclude :: Filter -> Filter
- fromEnumFilter :: Num a => Filter -> a
- data AttrT
- toAttrT :: (Eq a, Num a) => a -> AttrT
- attrMultiMask :: Integer
- attrT :: Num a => AttrT -> a
- data GroupByFunction
- data QueryResult = QueryResult {
- matches :: [Match]
- total :: Int
- totalFound :: Int
- words :: [(ByteString, Int, Int)]
- attributeNames :: [ByteString]
- data SingleResult
- data Result a
- = Ok a
- | Warning ByteString a
- | Error Int ByteString
- | Retry ByteString
- data Match = Match {
- documentId :: Int64
- documentWeight :: Int
- attributeValues :: [Attr]
- data Attr
- = AttrMulti [Attr]
- | AttrUInt Int
- | AttrBigInt Int64
- | AttrString ByteString
- | AttrFloat Float
- data ByteString
Documentation
data SearchdCommand Source
Search commands
data VerCommand Source
Current client-side command implementation versions
verCommand :: Num a => VerCommand -> aSource
Important! 2.0 compatible
data QueryStatus Source
status from an individual query
Match modes
Ranking modes (ext2 only)
Sort modes
Filter types
fromEnumFilter :: Num a => Filter -> aSource
Attribute types
data GroupByFunction Source
Grouping functions
data QueryResult Source
The result of a query
QueryResult | |
|
data SingleResult Source
a single query result, runQueries returns a list of these
a result returned from searchd
Match | |
|
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