HTTPS SSH
Quick'n'dirty filesystem indexer in Haskell
===========================================

Reimplementation of Python based indexer, Giraffe-Search, http://code.google.com/p/giraffe-search/

Just for fun as an attempt to learn Haskell.

Environment
===========

Developed under Fedora 19 using GHC, compilable under Ubuntu 12.04. This program depends only on packages available in mentioned Linux distributions.

Apart from GHC and Haskell-platform you will need to install these packages:

ghc-cereal-devel
ghc-HUnit-devel
ghc-containers-devel

Compilation
===========

cd src
./build.sh

This command will produce two binaries, BuildIndex and Query.

To build and run tests:

cd unit_tests
./runtests.sh

Usage
=====

BuildIndex accepts a single argument, the directory to be indexed:

./BuildIndex /data/mp3

The Query accepts one or more arguments, the words to be searched:

./Query alanis so pure