[Zope] getOwner FieldIndex
Garito
garito at sistes.net
Thu Dec 2 14:28:37 EST 2004
Jonathan Hobbs wrote:
>
>
>>Hi again
>>I'm try to make searches for owner
>>For that I create a FieldIndex with Indexed attributes getOwner
>>
>>I reindex the catalog and it found 17 objects for Owner
>>
>>But if I make a search for Owner ZCatalog returns an empty list
>>
>>Can you help me, please?
>>
>>
>
>make sure you are searching on the same field 'name' that you indexed (ie.
>'getOwner'), and make sure that the field value you select is valid (ie. the
>FieldIndex must contain an entry which exactly matches the search term you
>use).
>
>HTH
>
>Jonathan
>
>
>
>
Hi Jonathan
My index is called propietario and the user is Garito
My search is
catalog({'propietario': 'Garito'})
Is this correct?
Thanks!
More information about the Zope
mailing list