boolean (A1 AND B1) OR (A2 AND B2) not working

0 views
Skip to first unread message

ash

unread,
Jul 2, 2009, 11:37:16 AM7/2/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini, ashly...@hays.com
Hi All,

I have a requirement to search on boolean conditions. My Feed data is
as mentioned below.

<meta name="L1" content="English"/>
<meta name="LL1" content="Basic"/>
<meta name="L2" content="French"/>
<meta name="LL2" content="Professional"/>

My condition to search on is (L1=English AND LL1=Basic) OR (L2=English
AND LL2=Basic).

I have tried this in inmeta, requiredfields and partialfields with
proper syntax. But doesn't seem to be working.

Could someone help me out on any ways of achieving this please.

Or is it a requirement which CANNOT BE ACHIEVED AT ALL?

Thanks in Advance,
Ashly.

Mahesh T

unread,
Jul 6, 2009, 1:05:15 AM7/6/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
There is a limitation for using OR and NOT operators.

"neither NOT nor OR can contain any other operator inside them"

Check "operator note" at this link -
http://code.google.com/apis/searchappliance/documentation/60/xml_reference.html#request_meta_filter

ash

unread,
Jul 13, 2009, 4:45:35 AM7/13/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Thanks Mahesh for your reply.

I managed to achieve this. I'm feeding metadata to GSA. So, as per the
feed data in the previous message, I combined both L1 and LL1 as a
single metadata, thus eliminating AND condition.

-Ashly.

On Jul 6, 6:05 am, Mahesh T <lightbe...@gmail.com> wrote:
> There is a limitation for using OR and NOT operators.
>
> "neither NOT nor OR can contain any other operator inside them"
>
> Check "operator note" at this link -http://code.google.com/apis/searchappliance/documentation/60/xml_refe...
Reply all
Reply to author
Forward
0 new messages