Actually before asking this question I've tried query bq=[item
type:restaurants][location: @"33431" +3mi]".

And it returned 0 results. If I just go to maps.google.com and search
for restaurants near 33431 then I get thousands of restaurants. The
same with AJAX Search API - it returns many restaurants in our area.
I know that data is available for Google services but not for publicly
available APIs. For example in AJAX Search API you can find links like
this: 
http://www.google.com/maps/place?source=uds&q=asian+restaurant&cid=17223679308419969579
which is showing very detailed information about the business. But
there is no way get the same information from Google Base API.

So back to my original question about <g:item_type
type="text">Restaurants</g:item_type>. Technically speaking adding
"[item type:Restaurants]" to the query should filter response by item
type. Real testing shows that it doesn't work so: if I sent query
without item type filter, then i got 4 results with different item
types, but when I did so with item type it returned 0. Does anybody
knows is it intentional behavior of public API (just hiding
information) or it is a bug?

Thank you!

On Jan 19, 12:40 am, Celebird <[email protected]> wrote:
> to restrict the item-type to restaurants use:
> bq=[item type:restaurants]
>
> but the item-type data submitted by users would
> probably need to be defined-by and enforced
> by google -- or some collective adherence to
> a set of rules -- for such queries to behave;
> for example, items would need proper location attributes.
>
> since neither is true and there seems to be
> only 53 total results for that item-type the
> results will be rather sparse.
>
> the results are at the mercy of the lack of data.
>
> i believe the example was rather abstract and academic;
> maybe at one point in time the item-type had more data --
> or, is this item-type data you're submitting.
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en.


Reply via email to