9 Feb
2005
9 Feb
'05
2:56 p.m.
I just installed AdvancedQuery 0.6 in my Plone site, as it seems to be the only way to do boolean search expressions. Here's the query I'm trying to make: query = Eq('Title','kitchen') & - Eq('Subject','deck') The idea, obviously, is to get all docs with keywords of "kitchen" AND NOT "deck" I'm getting this as an error: AttributeError: Eq instance has no attribute '__neg__' This query works as expected: query = Eq('Subject','kitchen') & Eq('Subject','deck') Installation details: Plone 2.0.5 Zope 2.7.3-0, python 2.3.4, darwin AdvancedQuery 0.6 No IncrementalSearch No ManagableIndex Any ideas? Thanks, Willis Morse ShiftClick, LLC