mysociety / popit

DEPRECATED - Development on PopIt has stopped and it is no longer being maintained

Home Page:https://goo.gl/Vvej4Q

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

area id searches via API not returning results

kaerumy opened this issue · comments

If you want to query the area sub-object, you want http://sinar-malaysia.popit.mysociety.org/api/v0.1/search/posts?q=area.id:p104 which appears to work okay :)

The others are working because there's no name/state at top level to override, I think (might be wrong!), so you might want to use area.name and area.state for clarity.

Thanks for the clarification. sub area with dot works better and more accurately for us.