Holumbus-Searchengine-1.2.1: A search and indexing engine.

Safe HaskellNone




data Document a Source

A document consists of a title and its unique identifier (URI) and a customizable component


Eq a => Eq (Document a) 
Ord a => Ord (Document a) 
Show a => Show (Document a) 
Binary a => Binary (Document a) 
NFData a => NFData (Document a) 
XmlPickler a => XmlPickler (Document a) 

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

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

writeBin :: (MonadIO m, Binary a) => FilePath -> a -> m ()Source