The full-text-search package


An in-memory full text search engine library. It lets you run full-text queries on a collection of your documents.


It is independent of the document type, so you have to write the document-specific parts: extracting search terms and any stop words, case-normalisation or stemming. This is quite easy using libraries such as tokenize and snowball.

The source package includes a demo to illustrate how to use the library. The demo is a simplified version of how the library is used in the hackage-server where it provides the backend for the package search feature.


Dependenciesarray (==0.4.*), base (>=4.5 && <4.7), bytestring, Cabal (>=1.14 && <1.20), containers (>=0.4 && <0.6), directory, filepath, full-text-search, mtl, snowball (==1.0.*), split (==0.2.*), tar, text (>=0.11 && <1.2), time, tokenize (==0.1.*), transformers, vector (==0.10.*) [details]
Copyright2013-2014 Duncan Coutts, 2014 Well-Typed LLP, 2014 IRIS Connect Ltd.
AuthorDuncan Coutts
MaintainerDuncan Coutts <>
CategoryData, Text, Search
Source repositoryhead: darcs get
UploadedTue Mar 11 13:41:17 UTC 2014 by DuncanCoutts



build-search-demoBuild a little program illustrating the use of the libraryDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees