[Zope-dev] Testing a ZCatalog index type

Alexandre Ratti alex@gabuzomeu.net
Sun, 23 Apr 2000 20:41:02 +0200


Hello,


Is there a way to test the type of a ZCatalog index from DTML or Python 
(eg. TextIndex | FieldIndex | KeywordIndex)?

I can loop on "indexes" to get the index names. However, I had a look at 
the sources and I couldn't find any way to retrieve an index type.

It looks like the index type is only used in "addIndex" in Catalog.py when 
first creating the index.

Any hope?


Thanks.

Alexandre