Haskell library for indexing and searching text documents