[Zope] catalog query

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Tue, 29 Apr 2003 15:36:16 +0200


you can *not* pass "kw1 AND kw2" to a FieldIndex. This syntax is only
available when querying a TextIndex.

-aj

--On Dienstag, 29. April 2003 15:26 Uhr +0200 S=E9bastien Georget=20
<sebastien.georget@cenerg.cma.fr> wrote:

> Hi,
>
>    I'm trying to query my portal_catalog for documents having 'kw1 AND
> kw2' in the Dublin Core Subject field. It works well when I'm doing
> full-text queries, but it returns no document when I'm trying on Dublin
> Core fields. Is it the expected behaviour ? is it possible to change it ?
>
> It seems that portal_catalog has many parameters, is there one to change
> the default behaviour (match any keyword) to a match-all-keywords
> behaviour ?
>
> thx
>
> S=E9bastien Georget
> http://purl.org/NET/Georget/Sebastien
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )