[Zope-CMF] Extending search under cmf

Dieter Maurer dieter@handshake.de
Thu, 9 Jan 2003 23:16:42 +0100


Paul Naveen Raj Jeyaraj wrote at 2003-1-9 11:00 +0530:
 > I have a suishdot site under my CMF portal. But the CMF's search engine
 > is not looking into Squishdot site when I initiate a search. When I
 > search for some postings in the squishdot, the CMF's search is not able
 > to find those. However I am able to search for the postings through the
 > search available in Squishdot. I want to have a single point of entry
 > for searching the entire CMF site rather than having two separate
 > searches. Any pointers would be helpful. Thank you.
I see the following options:

  *  you force Squishdot to use "portal_catalog" as its catalog.

     Probably, this is not easy, as I think "Squishdot" itself
     inherits from "ZCatalog" and directly uses the inherited
     catalog methods.

  *  you force the CMF to use the Squishdot catalog as "portal_catalog".

     This is difficult, too. As "portal_catalog" is not a stock
     ZCatalog but derived from it and enhanced.
     The Squishdot catalog lacks the enhancements.

  *  When you perform a search over your Portal,
     you pass the search terms (in a Python Script) to
     both "portal_catalog" and the "Squishdot" catalog
     and merge the results (in some adequate way,
     maybe, you present the hits in two groups).

     This is the easiest solution, I see.


Dieter