[Zope] Catalog problems

Kevin Dangoor kid@kendermedia.com
Mon, 27 Dec 1999 09:59:19 -0500


----- Original Message -----
From: "John Goerzen" <jgoerzen@complete.org>
To: <zope@zope.org>
Sent: Monday, December 27, 1999 8:14 AM
Subject: [Zope] Catalog problems


> OK, here's the situation.  I want to build a search engine that
> applies to a particular folder and all its sub-folders.  I want this
> search engine to be a FULL TEXT one, meaning it will need to search
> through the body text of documents.

You could do this by putting the ZCatalog object in the top folder that you
want to include. Then, you do a find objects to catalog (I think it will go
all the way down the hierarchy of Folders). As long as the property you want
to index is in the indexing list (like text_content or
PrincipiaSearchSource) and the index is set up as a "TextIndex" you should
get the full-text search you want.

Kevin