[Zope-dev] ZCatalog/TextIndex/OR - keyword search
Arno Gross
arno.gross@consotec.de
Thu, 8 Feb 2001 15:39:04 -0100
Steve, thanks for your hints.
At moment I'm working with version 2.2.3 and could't bring it to work. Should
it work?
So I switched now tho 2.3 and after some struggles it works.
Actually I have ZClass objects.
Best regards
Arno Gross, arno.gross@consotec.de
On Thu, 08 Feb 2001, Steve Alexander wrote:
> Arno Gross wrote:
>
> > Hi Steve,
> > maybe I'm missing one step. If I create a TextIndex for search_text (or
> > PrincipiaSearchSource)
> > I have to tell somewhere how this index is composite? Becaus I try to
> > list PrincipiaSearchSource in my result list it's empty.
>
> You need to provide a method or property or attribute that gives the catalog the concatenated search text.
>
> You haven't said what kind of objects you are cataloging: are they ZClass instances, Python class instances, DTML Documents... ?
>
> You may be able to use a PythonScript in the acquisition path of your objects to do this work.
>