For attribute "property type(text)" in itemtype: housing, I want to
get the five most frequent values. But only the top value is returned.

If I submit the following:
http://www.google.com/base/feeds/attributes/property+type%28text%29?max-values=5&bq=%5bitem+type:housing%5d
I get the following response:
...
  <gm:attribute name="property type" type="text" count="49735">
    <gm:value count="49735">apartment</gm:value>
  </gm:attribute>
...
If I submit instead (specifically excluding "apartment"):
http://www.google.com/base/feeds/attributes/property+type%28text%29?max-values=5&bq=%5bitem+type:housing%5d-%5bproperty+type:apartment%5d
I get the following response (except I don't want to exclude
"apartment"):
...
  <gm:attribute name="property type" type="text" count="49855">
    <gm:value count="22150">single family</gm:value>
    <gm:value count="17596">housing</gm:value>
    <gm:value count="4422">single family home</gm:value>
    <gm:value count="3660">townhouse</gm:value>
    <gm:value count="662">condominium unit</gm:value>
  </gm:attribute>
...

What concept am I missing?

-- 
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