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. I have been unable to figure out how to set this up with catalogs. Do any of you have some pointers to help me out? Specifically, I can't figure out how to limit it to one particular folder, and how to tell it to do a full text index. -- John
----- 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
participants (2)
-
John Goerzen -
Kevin Dangoor