I've looked at the newish TopicIndex on the Zcatalog, and it seems like something that might be terribly useful to me, but I'm having trouble wrapping my head around it. I've got a ton of objects called FLSNewsStory objects, and they're essentially (believe it or not) news stories with various properties. They're cataloged now with FieldIndexes mainly, but I've got a few indexes such as "Organization" that contain a very limited set of possibilities. Organization can only be one of four values. Can I use TopicIndices to more efficiently catalog such an index? How would I go about doing that? Or am I barking up the wrong tree? Thanks! - Chris Muldrow cmuldrow@fredericksburg.com
a TopicIndex is some kind of pre-calculated search result. it indexes all objects that fullfill a given condition specified by a Python expression. Andreas --On Montag, 2. Dezember 2002 09:10 -0500 Chris Muldrow <cmuldrow@fredericksburg.com> wrote:
I've looked at the newish TopicIndex on the Zcatalog, and it seems like something that might be terribly useful to me, but I'm having trouble wrapping my head around it. I've got a ton of objects called FLSNewsStory objects, and they're essentially (believe it or not) news stories with various properties. They're cataloged now with FieldIndexes mainly, but I've got a few indexes such as "Organization" that contain a very limited set of possibilities. Organization can only be one of four values. Can I use TopicIndices to more efficiently catalog such an index? How would I go about doing that? Or am I barking up the wrong tree? Thanks! - Chris Muldrow cmuldrow@fredericksburg.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 )
--------------------------------------------------------------------- - Andreas Jung http://www.andreas-jung.com - - EMail: andreas at andreas-jung.com - - "Life is too short to (re)write parsers" - ---------------------------------------------------------------------
participants (2)
-
Andreas Jung -
Chris Muldrow