8 Mar
2000
8 Mar
'00
2:03 p.m.
Is there a way to see which keywords, etc are indexed in a catalog? eg. Let's say I indexed the title of a class and now I want to see all the titles in the catalog (so I can see if I'm programming correctly) Thanks tom.
8 Mar
8 Mar
7:18 p.m.
New subject: [Zope-dev] ZCatalog
Tom Deprez wrote:
Is there a way to see which keywords, etc are indexed in a catalog?
Yes.
eg. Let's say I indexed the title of a class and now I want to see all the titles in the catalog (so I can see if I'm programming correctly)
If it's a Field Index, you can use uniqueValuesFor('indexname'). Text indexes do not support this notion because their unique values map to integers. What maps those integers back to words are Vocabulary objects, which can be queried for all of their words. -Michel
9548
Age (days ago)
9548
Last active (days ago)
1 comments
2 participants
participants (2)
-
Michel Pelletier -
Tom Deprez