[Zope-CMF] Search results with portal_catalog - need a strategy

Paul Winkler pw_lists@slinkp.com
Thu, 24 Jul 2003 12:11:51 -0400


On Thu, Jul 24, 2003 at 07:25:41AM -0000, suresh_vv wrote:
> SearchableText() is a method implemented by CatalogAware objects 

yes...

> (like Document, Files etc.). It is typically a field index 

No. The catalog's SearchableText index is typically a TextIndex.

> concatenating title and subject.

No. SearchableText() typically concatenates title, description, and, 
when applicable, the raw body text (e.g. EditableBody() of a Document).
Subject is not used.

> Do not delete the standard indexes or create new ones with the 
> standard names. You are asking for trouble. 

Certainly you should be careful, but there's nothing wrong with 
replacing e.g. a TextIndex with a ZCTextIndex or TextIndexNG. 
They are designed to be drop-in replacements.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's THE ELDRITCH ORIGINATOR!
(random hero from isometric.spaceninja.com)