-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Ledermann wrote:
> Hello,
> 
> I try to get the relation between an index and its stored metadata in
> the portal catalog:
> 
> e.g
> created  <--> (CreationDate, created)
> or
> (Title, sortable_title) <--> Title
> 
> how do I determine that the Index for 'CreationDate' is 'created'?

There is basically no relationship.

Index names must not correspond with the names of methods or attributes
being indexed (indexes can have their own configuration about the things
to be indexed). Metadata names are different - they refer either to a
method or an attribute with the same name. Blame Archetypes for having
field names and accessor/mutator methods with different names...

So best option: check the source code and index/metadata definitions of
the related add-ons (or of Plone).

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJM5lqIAAoJEADcfz7u4AZj61ALvR6+TCentIZ8mHgjVxe/U1+A
5HL/Lf9pOBFO1p27mdqPuTxqD2bRiHg/509WEf1wCPF4lMF7m745FhpT/Ts6o8aZ
UYRpvCKnUc2hDM7XVrGLZFBwSZwSLLq1p6SuyUV0c7o+cIF16DyuvThrc9LMe7en
sqsCNHBNjYobjpKbJjbxmsLS5Qi8DdMM/sWN6pQxWEw9mm4vsiOZYYfQHIiuRMMO
oGq+O8+lirlEkAIPQ94/z6R51B4gdZ3yRz6GEExGZ85TTKFs4pS2jA8m7mrlwztt
MN6LxGnJT5ISD9YVSEgI9Yxiog8AZONJVO/jmo7KEOJR19sMAfoRxG95bWP8BAjx
WpD0P+5rioEg+wG/3f/ss8jM5gQdYpX6kUpg8Gwu2jJ4R4D5hbL7P9T6dOCUAauP
7nMN+VIqbyn7VmlB+F11k5IFZWYMOVMXg1ztuwL8fSeeV0J0F09+XK/xxvj+C1ay
gEAN+0v68CR2r0OLN9hG1863nZhnaV0=
=K2WH
-----END PGP SIGNATURE-----

<<attachment: lists.vcf>>

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to