At 11:04 2002-07-06 +0200, Johan Carlsson [Torped] said:

>I intend to release my code on zope.org, but first I though I'd write some 
>unit tests.

Ok, writing the UnitTest took more time that writing the Index :-)

Here it is any way:

http://www.zope.org/Members/johanc/EasyIndexes

Usage:

Not 'a' in foo:

         record = { 'foo' : { 'query'  : ['a']
                            , 'operator' : 'not'
                            }
                  }


Not ( 'b' or 'e' ) in foo:

         record = { 'foo' : { 'query'  : ['b','e']
                            , 'operator' : 'notor'
                            }
                  }


Not ( 'b' and 'e' ) in foo:

         record = { 'foo' : { 'query'  : ['b','e']
                            , 'operator' : 'notand'
                            }
                  }




-- 
Torped Strategi och Kommunikation AB
Johan Carlsson
[EMAIL PROTECTED]

Mail:
Birkagatan 9
SE-113 36  Stockholm
Sweden

Visit:
Västmannagatan 67, Stockholm, Sweden

Phone +46-(0)8-32 31 23
Fax +46-(0)8-32 31 83
Mobil +46-(0)70-558 25 24
http://www.torped.se
http://www.easypublisher.com



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to