[Zope-dev] Re: [Zope] CatalogAware and multiple meta_types

ed colmar element@immersivearts.com
Mon, 01 May 2000 09:11:48 -0600


	I have started down the path of trying to convert my squishdot based
product to use the Catalog instead of the "old" Squishdot indexing system.
I have set up the _searchable_result_columns, and _searchable_arguments
methods for 4 of the variables I am interested in.  I have placed the
self.reindex_object() call in the manage_edit method.  I commented out the
old search interface.

	Now, all seememd good until I tried to add variables that belonged to a
different meta_type.  Which results in an AttributeError value: 0

	Within my base class I have four different meta_types that can be added.  

	People
	Promoters
	Events
	Hosts

	Each of these objects contain different variables.  People objects contain
"name", and promoter objects contain "promotername".   How do I set it up
so that all of these values can be cataloged and searched?  Do I have to
standardize naming conventions so that all objects share common variable
names?  Or, can I define searchable paramaters within these objects?

	Thanks for any ideas or suggestions!

	-ed-