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%20Gardenia%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 [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