8 messages in com.googlegroups.google-base-data-apiRe: Searching on multiple customer id's| From | Sent On | Attachments |
|---|---|---|
| bchicos | 02 Apr 2008 12:06 | |
| Tom Wilson | 04 Apr 2008 06:30 | |
| Tom Wilson | 04 Apr 2008 07:16 | |
| bchicos | 08 May 2008 07:01 | |
| Celebird | 09 May 2008 00:59 | |
| Tom Wilson | 09 May 2008 02:53 | |
| bchicos | 10 May 2008 05:59 | |
| Tom Wilson | 11 May 2008 07:17 |
| Subject: | Re: Searching on multiple customer id's![]() |
|---|---|
| From: | bchicos (bchi...@gmail.com) |
| Date: | 05/08/2008 07:01:16 AM |
| List: | com.googlegroups.google-base-data-api |
Hi Tom,
Sorry it took me so long to look at your suggestion.
This is interesting. Your query works, but I cannot find a way to set this type of query successfully in the Java API which is what I use.
I send the following to the method setGoogleBaseQuery in GoogleBaseQuery.
query.setGoogleBaseQuery(query);
harry potter ([customer id:2860562] | [customer id:11729])
I would think this should produce the query that you wrote in the URL, but it seems that it is escaping the parens and then the query fails. It works fine however if I just do this:
harry potter [customer id:2860562]
Here's the URL the first one produces:
On Apr 4, 10:17 am, Tom Wilson <tomt...@googlemail.com> wrote:
How about this
:http://www.google.com/base/feeds/snippets/?bq=([customer%20id:3622330]%20%7c%20[customer%20id:11729])
I can't see easily if this actually contains both users items but no errors and its feeding back data so i can only assume it is.
Tom Wilson Freelance Google Base Developer and Consultantwww.tomthedeveloper.com
Google Base Tools -http://dev.tomthedeveloper.com/googlebase
Featured Project
:http://google-code-featured.blogspot.com/2008/02/google-base-competit...
On Apr 2, 8:06 pm, bchicos <bchi...@gmail.com> wrote:
To narrow results by 1 customer id I am adding the following to my query:
[customer id:11729]
How would I change the clause to return results from more than one customer ID (using an OR, not an AND)?
Based on the example queries I tried the following, but none of them worked.
Doesn't work [customer id:11729 | 3622330]
Doesn't work ([customer id:117299] | [customer id:3622330])
Doesn't work [customer id(int):11729 | 3622330]
The query language page shows the following example and I don't see the difference between what I am doing and what the example is doing. [access rights(text) : private | protected
digital camera ([megapixel >= 3.0] | [price <= 100.0
USD])http://code.google.com/apis/base/query-lang-spec.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Base Data API" group.
To post to this group, send email to Goog...@googlegroups.com
To unsubscribe from this group, send email to
Goog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---




