[Zope] Yet another Zcatalog question--PrincipiaSearchSource

Chris Muldrow cmuldrow@fredericksburg.com
Fri, 14 Mar 2003 09:43:43 -0500


Right now we've got our main Catalog storing only information about a
Zclass, and it's only got one ZCTextindex--on PrincipiaSearchSource. I'd
like people to be able to search the title AND the PrincipiaSearchSource at
the same time--in other words, have both indexed. Is there a way to index
both in the same ZCTextIndex so I don't have to keep two text indexes and
combine searches into both? I'm thinking of trying to index some sort of
method inside the Zclass that combines the two, but I can't seem to figure
out what that method should look like--how do I say "concatenate title and
data into a single piece of data that can be indexed"?

And now to complicate things even more...
Say I want to mix it up a bit and include pictures in my search. Our
pictures have a property called Cutline that would need to be indexed. Could
we trick the Catalog into also indexing Cutline in the same TextIndex? Or am
I just talking crazy now?

Thanks--Chris