2 messages in com.googlegroups.google-base-data-api[Google-Base-API] Re: Does crowding b...| From | Sent On | Attachments |
|---|---|---|
| maga | 09 Jun 2008 21:40 | |
| Eric (Google) | 10 Jun 2008 18:22 |
| Subject: | [Google-Base-API] Re: Does crowding by vin work?![]() |
|---|---|
| From: | Eric (Google) (api....@google.com) |
| Date: | 06/10/2008 06:22:51 PM |
| List: | com.googlegroups.google-base-data-api |
Hi maga,
The API does support crowding by vin: http://www.google.com/base/feeds/snippets?bq=[item%20type:%20vehicles][vin(text)]&crowdby=vin(text):1
Although, it's somewhat difficult to verify this query is actually returning 1 listing/vin number. Your Java snippet looks correct to me.
Can you verify the GoogleBaseQuery query you're creating is exactly like I have above?
Eric
On Jun 9, 9:40 pm, maga <aga...@gmail.com> wrote:
Hello,
I am having trouble getting results crowded by vin when searching the snippets feed for vehicles (the item type).
Does anyone know if this currently works? I know you can't sort by text attributes, but I thought crowding by text attributes should work. I am using the Java Client API provided by Google Base. I currently set up the query as (relevant code posted):
GoogleBaseQuery query = new GoogleBaseQuery(FeedURLFactory.getDefault().getSnippetsFeedURL());
query.setGoogleBaseQuery("[item type: vehicles] [vin(text)]"); query.setCrowdingBy("vin(text):1");
However I am still seeing duplicate listings per vin in the results.
Any help would be greatly appreciated. Hopefully I was clear in the description.
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---




