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

Safe HaskellNone

Holumbus.Index.CompactIndex

Synopsis

Documentation

data Document a Source

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

Instances

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.

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