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ébastien Georget <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ébastien 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 )