Safe Haskell | None |
---|---|
Language | Haskell98 |
Hunt.Index.PrefixTreeIndex
Description
Text index using the DocIdMap
based on the StringMap
implementation.
- newtype DmPrefixTree v = DmPT {}
- newtype SimplePrefixTreeIndex = SimplePTIx {}
- newtype PrefixTreeIndexInt = InvIntIx {
- invIntIx :: KeyProxyIndex Text (KeyProxyIndex UnInt (KeyProxyIndex Text (DmPrefixTree DocIdSet)))
- newtype PrefixTreeIndexDate = InvDateIx {
- invDateIx :: KeyProxyIndex Text (KeyProxyIndex UnDate (KeyProxyIndex Text (DmPrefixTree DocIdSet)))
Documentation
newtype DmPrefixTree v Source
Text index using DocIdMap
based on the StringMap
implementation.
Note that the value parameter is on the type of the DocIdMap
value and not the DocIdSet
itself.
Instances
Eq v => Eq (DmPrefixTree v) | |
Show v => Show (DmPrefixTree v) | |
IndexValue v => Binary (DmPrefixTree v) | |
NFData v => NFData (DmPrefixTree v) | |
IndexValue v => Index (DmPrefixTree v) | |
Typeable (* -> *) DmPrefixTree | |
type IKey (DmPrefixTree v) = Key | |
type IVal (DmPrefixTree v) = v | |
type ICon (DmPrefixTree v) = () |
newtype SimplePrefixTreeIndex Source
Integer index using a StringMap
-implementation.
Constructors
SimplePTIx | |
Fields |
newtype PrefixTreeIndexInt Source
Integer index using a StringMap
-implementation.
Constructors
InvIntIx | |
Fields
|
newtype PrefixTreeIndexDate Source
Date index using a StringMap
-implementation.
Constructors
InvDateIx | |
Fields
|