[Zope-CMF] catalog and Subject metadata

marc lindahl marc@bowery.com
Fri, 18 May 2001 12:07:39 -0400


> From: Tres Seaver <tseaver@novacoxmail.com>
> 
> The "Quick Search" box in the standard header only searches the
> "SearchableText" index, which presumably is the content's "full text".
> The Subject field, like the rest of the metadata, is not included in
> that index by default;  to remedy this, you can either:
> 
> - Hack or derive from CMFCore.CatalogTool to add the desired metadata
> to the class at indexing time;
> 
> - Hack the SearchableText method on your content classes to included
> the desired metadata directly.


Couldn't you also instead of having standard_top_bar directly submit a
search, pass thru a DTML method that took the input box data and formed an
OR search of that data in all the desired fields? (the lazy concatenation
mentioned here http://www.zope.org/Members/Caseman/ZCatalog_for_2.3 ?)