Portability | portable |
---|---|
Stability | experimental |
Maintainer | Timo B. Huebel (tbh@holumbus.org) |
Safe Haskell | None |
The Holumbus query processor. Supports exact word or phrase queries as well as fuzzy word and case-insensitive word and phrase queries. Boolean operators like AND, OR and NOT are supported. Context specifiers and priorities are supported, too.
- data ProcessConfig = ProcessConfig {
- fuzzyConfig :: !FuzzyConfig
- optimizeQuery :: !Bool
- wordLimit :: !Int
- docLimit :: !Int
- processQuery :: (HolIndex i, HolDocuments d c) => ProcessConfig -> i -> d c -> Query -> Result c
- processPartial :: HolIndex i => ProcessConfig -> i -> Int -> Query -> Intermediate
- processQueryM :: (HolIndexM m i, HolDocuments d c) => ProcessConfig -> i -> d c -> Query -> m (Result c)
- processPartialM :: HolIndexM m i => ProcessConfig -> i -> Int -> Query -> m Intermediate
Processor types
data ProcessConfig Source
The configuration for the query processor.
ProcessConfig | |
|
Processing
processQuery :: (HolIndex i, HolDocuments d c) => ProcessConfig -> i -> d c -> Query -> Result cSource
Process a query on a specific index with regard to the configuration.
processPartial :: HolIndex i => ProcessConfig -> i -> Int -> Query -> IntermediateSource
Process a query only partially in terms of a distributed index. Only the intermediate result will be returned.
processQueryM :: (HolIndexM m i, HolDocuments d c) => ProcessConfig -> i -> d c -> Query -> m (Result c)Source
Monadic version of processQuery
.
processPartialM :: HolIndexM m i => ProcessConfig -> i -> Int -> Query -> m IntermediateSource
Monadic version of processPartial
.