Safe Haskell | None |
---|
- data Document a
- data Documents a
- data SmallDocuments a
- type Inverted = Inverted0
- emptyInverted :: Inverted
- removeDocIdsInverted :: Occurrences -> Inverted -> Inverted
- type CompactInverted = InvertedOSerialized
- emptyCompactInverted :: CompactInverted
- inverted2compactInverted :: Inverted -> CompactInverted
- type HolumbusState di = IndexerState Inverted Documents di
- type HolumbusConfig di = IndexCrawlerConfig Inverted Documents di
- emptyHolumbusState :: HolumbusState di
- defragmentHolumbusState :: Binary di => HolumbusState di -> HolumbusState di
- emptyIndexerState :: i -> d c -> IndexerState i d c
- emptyDocuments :: Documents a
- emptySmallDocuments :: SmallDocuments a
- docTable2smallDocTable :: Documents a -> SmallDocuments a
- mergeAndWritePartialRes' :: (MonadIO m, NFData i, Binary i) => (SmallDocuments i -> SmallDocuments i) -> [String] -> String -> m ()
- writeXml :: (MonadIO m, XmlPickler a) => FilePath -> a -> m ()
- writeBin :: (MonadIO m, Binary a) => FilePath -> a -> m ()
- writeSearchBin :: (Binary c, MonadIO m) => FilePath -> HolumbusState c -> m ()
- writePartialIndex :: (NFData c, XmlPickler c, Binary c) => Bool -> FilePath -> CrawlerAction a (HolumbusState c) ()
Documentation
A document consists of a title and its unique identifier (URI) and a customizable component
data SmallDocuments a Source
The table to store the document descriptions
This table does not contain the reverse map from URIs do DocIds, this reverse map is only needed when crawling, not for searching the index. As a consequence, most of the indes operations are not implemented
see also Documents
data type
Binary a => HolDocuments SmallDocuments a | |
(Binary a, HolIndex i) => HolDocIndex SmallDocuments a i | |
Binary a => Binary (SmallDocuments a) | |
NFData a => NFData (SmallDocuments a) | |
(Binary a, XmlPickler a) => XmlPickler (SmallDocuments a) |
type HolumbusState di = IndexerState Inverted Documents diSource
type HolumbusConfig di = IndexCrawlerConfig Inverted Documents diSource
defragmentHolumbusState :: Binary di => HolumbusState di -> HolumbusState diSource
emptyIndexerState :: i -> d c -> IndexerState i d cSource
emptyDocuments :: Documents aSource
Create an empty table.
docTable2smallDocTable :: Documents a -> SmallDocuments aSource
Convert a Compact document table into a small compact document table. Called at the end of building an index
mergeAndWritePartialRes' :: (MonadIO m, NFData i, Binary i) => (SmallDocuments i -> SmallDocuments i) -> [String] -> String -> m ()Source
writeSearchBin :: (Binary c, MonadIO m) => FilePath -> HolumbusState c -> m ()Source
writePartialIndex :: (NFData c, XmlPickler c, Binary c) => Bool -> FilePath -> CrawlerAction a (HolumbusState c) ()Source