packages feed

TCache 0.9.0.1 → 0.9.0.2

raw patch · 2 files changed

+7/−4 lines, 2 files

Files

Data/TCache/IndexText.hs view
@@ -3,15 +3,15 @@              , FlexibleInstances              , UndecidableInstances              , MultiParamTypeClasses #-}-module Data.TCache.IndexText(indexText, indexList,  contains, containsElem) where + {- | Implements full text indexation (`indexText`) and text search(`contains`), as an addition to the query language implemented in `Data.TCache.IndexQuery` it also can index the lists of elements in a field (with `indexList`) so that it is possible to ask for the registers that contains a given element in the given field (with `containsElem`) -An example:+An example of full text search:  @ data Doc= Doc{title, body :: String} deriving (Read,Show, Typeable)@@ -35,8 +35,9 @@   if  r1 == [title doc] then print "OK" else print "FAIL"   if  r== [] then print "OK" else print "FAIL" @- -}++module Data.TCache.IndexText(indexText, indexList,  contains, containsElem) where import Data.TCache import Data.TCache.IndexQuery import Data.TCache.DefaultPersistence
TCache.cabal view
@@ -1,5 +1,5 @@ name:                TCache-version:             0.9.0.1+version:             0.9.0.2 synopsis:            A Transactional cache with user-defined persistence description:     TCache is a transactional cache with configurable persitence. It allows conventional@@ -7,7 +7,9 @@     their user defined storages. Default persistence in files is provided for testing purposes     State in memory and into permanent storage is transactionally coherent. +     0.9.0.1 : Solves a bug when object keys generate invalid filenames.+              changes in defaultPersistence to further separate serialization from input-output     .     0.9: This version now has full text search. Serialization is now trough byteStrings