data inconsistencies

0 views
Skip to first unread message

wesdeboer

unread,
Feb 25, 2010, 3:20:20 PM2/25/10
to GeoAPI
I'm trying out the demo query builder (http://api.geoapi.com/demos/
mql_tool/query.html) and have noticed an issue with data inconsistency
when filtering with verticals. If I run the following query:

{
"lat": 40.715046
"lon": -74.010376
"radius": "0.1km"
"entity": [{
"guid": null
"type": "business"
"view.listing": {
"*": null
}
}]
}

As you can see the second record is 'Warren 77' and it contains the
value 'restaurants' in the verticals.

Now if I add "verticals": "restaurants" to the query it should return
back that same result as it does with the other restaurants in the
original resultset but it does not.

{
"lat": 40.715046
"lon": -74.010376
"radius": "0.1km"
"entity": [{
"guid": null
"type": "business"
"view.listing": {
"*": null
"verticals": "restaurants"
}
}]
}

You can see the first record 'Azafran' is returned but 'Warren 77' is
not.

Am I not understanding the query process correctly or is there a bug
somewhere that is preventing this result from returning correctly.

Reply all
Reply to author
Forward
0 new messages