Hi Matthias,
I think the problem is the need for URL escaping. These special
characters should be escaped when you actually GET the URL. For
example, the following will fail, but the second query will succeed.
http://www.google.com/base/feeds/snippets?bq=digital+camera[megapixel>=3.0][price<=500.0USD]
http://www.google.com/base/feeds/snippets?bq=digital+camera[megapixel%3E%3D3.0][price%3C%3D500.0USD]
Does this fix the errors?
Cheers,
Jeff
On Jan 27, 5:34 pm, Matthias <matt...@gmail.com> wrote:
For attribute queries, the documentation says:
"For numeric attributes, we can use the operators <, <=, >, >=, and ==
to specify constraints on their values, so a constraint on the
attribute price looks like this: [price <= 150.0]".
This however does not seem to work any longer, for quite a while now.
You can check this on the API demo page - even Google's own sample
query "snippets?bq=digital camera [megapixel >= 3.0]" fails with error
400 Bad Request.
The only operator that works is ":".