Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
newtype IntermediateValue Source
fromIntermediates :: IndexValue u => [(x, IntermediateValue)] -> [(x, u)] Source
fromScoredIntermediates :: IndexValue u => [(x, (s, IntermediateValue))] -> [(x, (s, u))] Source
toIntermediates :: IndexValue u => [(x, u)] -> [(x, IntermediateValue)] Source
class (Binary x, NFData x) => IndexValue x where Source
toIntermediate :: x -> IntermediateValue Source
fromIntermediate :: IntermediateValue -> x Source
mergeValues :: x -> x -> x Source
diffValues :: DocIdSet -> x -> Maybe x Source
mapToSet :: Occurrences -> DocIdSet Source