Safe Haskell | None |
---|---|
Language | Haskell98 |
- qWord :: Text -> Query
- qWordNoCase :: Text -> Query
- qFullWord :: Text -> Query
- qFullWordNoCase :: Text -> Query
- qPhrase :: Text -> Query
- qPhraseNoCase :: Text -> Query
- qPrefixPhrase :: Text -> Query
- qPrefixPhraseNoCase :: Text -> Query
- qRange :: Text -> Text -> Query
- qAnd :: Query -> Query -> Query
- qAnds :: [Query] -> Query
- qOr :: Query -> Query -> Query
- qOrs :: [Query] -> Query
- qAndNot :: Query -> Query -> Query
- qAndNots :: [Query] -> Query
- qNext :: Query -> Query -> Query
- qNexts :: [Query] -> Query
- qFollow :: Int -> Query -> Query -> Query
- qFollows :: Int -> [Query] -> Query
- qNear :: Int -> Query -> Query -> Query
- qNears :: Int -> [Query] -> Query
- setNoCaseSearch :: Query -> Query
- setFuzzySearch :: Query -> Query
- setContext :: Context -> Query -> Query
- setContexts :: [Context] -> Query -> Query
- setBoost :: Weight -> Query -> Query
- withinContexts :: [Context] -> Query -> Query
- withinContext :: Context -> Query -> Query
- withBoost :: Weight -> Query -> Query
- qContext :: Context -> Text -> Query
Documentation
qWordNoCase :: Text -> Query Source
case insensitive prefix search of a single word
qFullWordNoCase :: Text -> Query Source
exact, but case insensitive search of a single word
qPhrase :: Text -> Query Source
exact search of a sequence of space separated words. For each word in the sequence, an exact word search is performed.
qPhraseNoCase :: Text -> Query Source
exact, but case insenitive search of a sequence of space separated words. For each word in the sequence, a word search is performed.
qPrefixPhrase :: Text -> Query Source
prefix search of a sequence of space separated words. For each word in the sequence, a prefix search is performed.
qPrefixPhraseNoCase :: Text -> Query Source
prefix search of a sequence of space separated words. For each word in the sequence, a prefix search is performed.
qNext :: Query -> Query -> Query Source
neighborhood queries. The list must not be empty
TODO: a better name for qNext and qNexts, qPhrase is already used
setNoCaseSearch :: Query -> Query Source
case insensitve search, only sensible for word and phrase queries
setFuzzySearch :: Query -> Query Source
fuzzy search, only sensible for word and phrase queries
setContext :: Context -> Query -> Query Source
restrict search to a single context
setContexts :: [Context] -> Query -> Query Source
restrict search to list of contexts
withinContexts :: [Context] -> Query -> Query Source
Deprecated: Don't use this, use setContexts
withinContext :: Context -> Query -> Query Source
Deprecated: Don't use this, use setContext