[Zope-CMF] Exclude from indexing...

Florent Guillaume fg at nuxeo.com
Wed Oct 22 09:37:53 EDT 2003


> Detailed:
> I am working on workflow in which documents (Archetype content types) get 
> archived at the publishing time so when reviewer publishes content, copy of 
> it goes into the archive (another folder within Plone site). Now problem is 
> that I don't need/don't want to show archived copies in search results. So I 
> want to be able to navigate/link to them (archived copies) but not to have 
> them in portal_catalog. 

Why not always add
  review_state=['published', 'anyotherstateyouneed']
in the search call ?

It may be useful in other circumstances to search archived documents,
for instance for administrators, so you'd need them cataloged.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg at nuxeo.com



More information about the Zope-CMF mailing list