R. David Murray writes:
> I was just looking at the ZCatalog code to figure out how to programatically
> add an index to a Catalog. I figured out how to do that fairly easily,
> but the code I was looking at has me a bit mystified. The method
> manage_addIndex is defined. The form that you
How about:
yourcatalog._catalog.addIndex(id, 'FieldIndex')
replace FieldIndex with TextIndex or KeywordIndex as desired.
"R. David Murray" wrote:
>
> I was just looking at the ZCatalog code to figure out how to programatically
> add an index to a Catalog. I figured out how to do that fairly
I was just looking at the ZCatalog code to figure out how to programatically
add an index to a Catalog. I figured out how to do that fairly easily,
but the code I was looking at has me a bit mystified. The method
manage_addIndex is defined. The form that you use through the
management interface