[Zope3-Users] How to use catalog.searchResults
Alen Stanisic
alen.stanisic at gmail.com
Sun May 21 18:57:52 EDT 2006
On Sun, 2006-05-21 at 18:49 +0200, Florian Lindner wrote:
> Am Sonntag, 21. Mai 2006 17:58 schrieb mats.nordgren:
> >
> > Have you tried
> >
> > catalog.searchResults(idx=('AbbreviationIndex', 'ABC'))
>
> Do you mean "idx" as a placeholder for something or really idx?
>
idx would be your index name. I think Field indexes expect a low and
high search value, hence the two-length tuple. Text indexes can be
passed a single search value, eg. idx='search string'
Alen
More information about the Zope3-users
mailing list