| Copyright | Copyright (C) 2012 Uwe Schmidt |
|---|---|
| License | MIT |
| Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell98 |
Hunt.DocTable.HashedDocTable
Contents
Description
A more space efficient substitute for Hunt.Index.Documents and a more flexible implementation than Hunt.Index.CompactDocuments.
DocIds are computed by a hash function, so the inverse map from URIs to DocIds
is substituted by the hash function.
MurmurHash2 64-bit is used as the hash function. https://sites.google.com/site/murmurhash/
It is a fast non-cryptographic hash function with good performance and hash distribution properties. http://programmers.stackexchange.com/a/145633