View Full Version : Boolean
IntroSites
01-02-08, 14:33
Has anyone had any success with Boolean searching:
the docs state:
boolean – Allow operators:
& = AND
| = OR
! = NOT
but i just cannot get AND to work, the NOT / OR seem ok
Ideally id like all words found but with the option of NOT
ie: Bedroom Furniture !Maple
Thanks
I find using & gives an error but just leaving a space has the same effect. i.e.
"silver frame" is equivalent to "silver&frame". This also works with NOT:
"silver frame !birthday" produces results as expected. As does "silver|frame !birthday" for that matter.
Perhaps the use of & in a boolean search throwing an error has already been raised as a bug?
Andy
IntroSites
01-02-08, 18:43
hmm just checked and that does seem the case, hopefully someone at AW will confirm the working operators
Hi all,
I have raised this query with the development team and will update you as soon as I receive their response.
Regards
Hi Guys,
This issue arises with the PHP4 Client, as the ampersand operator breaks the correct XML structure. The query string should therefore be utf8 encoded, before being passed to the SOAP client.
The same results can also be achieved substituting the ampersand with a space as mentioned before in this thread.
I am under the assumption that this issue will have been resolved upon release of the ShopWindow API v2.
Regards
IntroSites
08-02-08, 17:11
Thanks George, the space option appears to be working Ok for me