[Zope-CMF] Exclude from indexing...
Sam Brauer
sam at webslingerz.com
Wed Oct 15 12:47:15 EDT 2003
I haven't tested this, but:
In your workflow script that copies the object into the archive folder,
you could uncatalog the archived object by calling it's unindexObject()
method.
Dmitry S. Makovey wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> In Brief:
> Is there any easy/standard way to exclude from indexing document in certain
> state?
>
> 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.
>
> I know there's PloneStaging/CMFStaging which does have versions but it has
> it's own drawbacks (namely staging works only for CMF content types and
> doesn't work for python scripts, ZPT etc.) so I don't want to implement it
> right now. Except there's a quick receipie to strip Staging to do just
> versioning (I still need to have access to older versions for external users)
>
> - --
> Dmitry Makovey
> Web Systems Administrator
> Athabasca University
> (780) 675-6245
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (FreeBSD)
>
> iD8DBQE/jXNSyDrVuGfS98QRAuGiAKCPx4z5biJlVDxpUhQcphBLGjx6xgCdE2Tn
> sQLWrPjxXGz5M4UyTs7uTsA=
> =OfKU
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF at zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
--
Sam Brauer
Systems Programmer
sam at webslingerZ.com
More information about the Zope-CMF
mailing list