Index types, property types
I've read the documentation about various index types (Text, Field, Keyword) as well as the information about property types. However, I'm having problems understanding how to decide which to use for different situations. For instance, I originally made document keywords a property "keywords" of the type "tokens", but it seems like tokens are case sensitive, and I'd be better off using just "string" -- or maybe it's that having the keyword property be indexed as KeywordIndex is a bad choice? Could someone compare and contrast these things a bit more for me? Leigh Ann -- Leigh Ann Hildebrand leighann@onebox.com - email (650) 223-2199 x2231 - voicemail/fax __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com
Take a look at the corresponding section of the Zope book: http://www.zope.org/Members/michel/ZB/SearchingZCatalog.dtml It gives you a very good introduction into using the ZCatalog. Andreas ----- Original Message ----- From: "Leigh Ann Hildebrand" <leighann@onebox.com> To: <zope@zope.org> Sent: Friday, May 25, 2001 2:40 PM Subject: [Zope] Index types, property types
I've read the documentation about various index types (Text, Field, Keyword) as well as the information about property types. However, I'm having problems understanding how to decide which to use for different situations. For instance, I originally made document keywords a property "keywords" of the type "tokens", but it seems like tokens are case sensitive, and I'd be better off using just "string" -- or maybe it's that having the keyword property be indexed as KeywordIndex is a bad choice?
Could someone compare and contrast these things a bit more for me?
Leigh Ann
-- Leigh Ann Hildebrand leighann@onebox.com - email (650) 223-2199 x2231 - voicemail/fax
__________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andreas Jung -
Leigh Ann Hildebrand