I did exactly the same, but added many spaces around each keyword of separato, in order to help the parsing (an old UNIX shell way to write things) :
The following query works fine (with spaces everywhere) :
( periode = ( 1181 or 1182 or 1183 or 1184 or 1185 or 1186 or 1187 or 1188 or 1189 or 1190 or 1191 or 1192 or 1193 ) )
De: Robert Lebowitz [SMTP:email@example.com]
Date: mercredi 9 juin 1999 22:26
À: Multiple recipients of list
Objet: [SWISH-E] Re: using multiple meta tags and parentheses in search
>> anyhow, here's what I'm trying to do:
>> swishe -w "(level1=(x or y or z) or level2=(q or r or s)) and (target1 =
>> m)" -f myindex
>I think that would be:
>-w "level1=(x or y or z) or level2=(q or r or s) and target1=m"
I should probably clarify what I'm doing:
I'm constructing the queries on-the-fly, and the reason for that extra set
of parentheses around the (target1=m) is there because in many situations, I
actually have something like (target1=m or target2=n) ... I didn't try to
get fancy and reduce the number of parentheses if there was only a single
metatag being used in a search.
I actually construct much more complex queries than these two examples, my
primary concern was whether I had the syntax down correctly. I ran a few
searches where the results don't jibe with what they should be. Usually
these were more complex queries involving four or so meta tag combinations.
Received on Thu Jun 10 01:12:46 1999