[Zope] How to prevent subobjects to catalog a parents attribute
Andreas Jung
lists at zopyx.com
Sat Jul 22 09:41:00 EDT 2006
--On 22. Juli 2006 17:08:43 +0330 Mohsen Moeeni <listless at gmail.com> wrote:
> Hi;
>
> My folder (which extends ATFolder from ATContentTypes) has
> a `catagory` attribute (field) which I want to be present in the
> catalog both as index and metadata. So I have added the
> `category` FiledIndex and metadata to my catalog object.
> Everything is fine when I look at my indexed custom folder in the
> catalog. However, the problem is that the subobjects of this
> folder will also have the same value as their parent for the category
> index and metadata because of the acquisition. Can I prevent this?
Look at ManageableIndexes...they provide control over acquistion while
indexing.
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060722/f4c20a73/attachment.bin
More information about the Zope
mailing list