In case anyone else has this issue - I fixed it by putting "+0mi" at
the end of the query and the correct listing came up.

Example: 
http://www.google.com/base/feeds/snippets/?bq=[item%20type:Housing][location:@%22919%20mclean%20ave,%20mi%22%2B0mi]


On May 19, 10:10 am, Jenn <slisj...@gmail.com> wrote:
> I am playing around with how to construct the queries I need.
> Ultimately, I want to query the housing items by address. My hope was
> I could supply:
>
> Full address (number street, city, state)
> Partial addresses - (street, city, state), (number street), (number
> street, state), (street, state), etc - and I would get any results/
> suggestions that matched those partial addresses
>
> However, I can not even get Full Address to work (which should be the
> easy one). I am using the Javascript query generator to figure out how
> to make queries (http://code.google.com/apis/base/samples/javascript/
> js_query_generator/)
>
> If I query homes for sale in Royal Oak, Mi, I get a list of addresses.
> But if I query one of those specific addresses (which I know is in the
> db, since I just got it out of a previous query) it returns "0
> results". What am I doing wrong?
>
> Here is the city query (which returns "710 Gardenia, Royal Oak, MI" as
> one of the results):
>
> http://www.google.com/base/feeds/snippets/?bq=[item%20type:Housing][listing%20type:for%20sale][location:@%22Royal%20Oak,%
>  20MI%22]
>
> Here is the address query (returns 0 results):
>
> http://www.google.com/base/feeds/snippets/?bq=[item%20type:Housing][listing%20type:for%20sale][location:@%22710%20Gardeni
>  a%20Avenue,%20Royal%20Oak,%20MI%22]
>
> What's up?
>
> Also, before I spend days spinning my wheels will I ever get the
> partial address stuff working or is it not flexible enough to
> recognize just a street and state together and return possible
> matches? I know in Google Maps I can put "main street, mi" and there
> is a section saying "did you mean .....?" and it lists out all of the
> "street, city, state" combinations that match my query. My hope is if
> I looked for housing with location of "main street, mi" it would give
> me a list of housing items from all different cities that were located
> on main street in michigan. Then the person could choose the correct
> listing from the list. Possible?
>
> Thanks!
> Jenn
>
> --
> 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 google-base-data-...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-base-data-api+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-base-data-api?hl=en.

-- 
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 google-base-data-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-base-data-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en.

Reply via email to