Skip to main content.
home | support | download

Back to List Archive

RE: Boolean Searches Against MetaNames

From: Deane Barker <dbarker(at)>
Date: Fri Dec 05 2003 - 16:14:24 GMT
I found it.  In the Swish-E PHP class on the Scripts page
(, this line...

$this->words = escapeshellcmd($this->words);

..causes the parantheses to be escaped, meaning they're prepended with
backslashes.  So the command is being submitted as:

foo section=\(not bar\)

Commenting that line out fixes the problem, but I have no idea what else
will break because of it.


-----Original Message-----
From: []
On Behalf Of Deane Barker
Sent: Friday, December 05, 2003 10:00 AM
To: Multiple recipients of list
Subject: [SWISH-E] Boolean Searches Against MetaNames

I have ExtractPathData set to extract the first folder to a metaname
called "section".  It works well.  To find things in a certain section,
I do this:
foo section=bar
But what if I want to find something NOT in that section (that is to
say, everywhere else BUT that section)?
foo section=(not bar)
Should this work?  It doesn't, but I can't figure out if it's Swish-E or
the way I coded the PHP.  If you can tell me this SHOULD work, then I
know that my PHP is hosed.
I don't want to waste anyone's time, so you don't need to do a lot of
debugging.  Just tell me if this should work or not and you'll have
helped me quite a bit.

Due to deletion of content types excluded from this list by policy, this
multipart message was reduced to a single part, and from there to a
plain text message.
Received on Fri Dec 5 16:14:31 2003