{"action":"created","issue":{"url":"https://api.github.com/repos/marklogic/node-client-api/issues/176","labels_url":"https://api.github.com/repos/marklogic/node-client-api/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/node-client-api/issues/176/comments","events_url":"https://api.github.com/repos/marklogic/node-client-api/issues/176/events","html_url":"https://github.com/marklogic/node-client-api/issues/176","id":92163182,"number":176,"title":"Geolocation facet does not work at all","user":{"login":"victorbalan","id":9076766,"avatar_url":"https://avatars.githubusercontent.com/u/9076766?v=3","gravatar_id":"","url":"https://api.github.com/users/victorbalan","html_url":"https://github.com/victorbalan","followers_url":"https://api.github.com/users/victorbalan/followers","following_url":"https://api.github.com/users/victorbalan/following{/other_user}","gists_url":"https://api.github.com/users/victorbalan/gists{/gist_id}","starred_url":"https://api.github.com/users/victorbalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorbalan/subscriptions","organizations_url":"https://api.github.com/users/victorbalan/orgs","repos_url":"https://api.github.com/users/victorbalan/repos","events_url":"https://api.github.com/users/victorbalan/events{/privacy}","received_events_url":"https://api.github.com/users/victorbalan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marklogic/node-client-api/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/marklogic/node-client-api/labels/major","name":"major","color":"fbca04"},{"url":"https://api.github.com/repos/marklogic/node-client-api/labels/test","name":"test","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"ayuwono","id":7096668,"avatar_url":"https://avatars.githubusercontent.com/u/7096668?v=3","gravatar_id":"","url":"https://api.github.com/users/ayuwono","html_url":"https://github.com/ayuwono","followers_url":"https://api.github.com/users/ayuwono/followers","following_url":"https://api.github.com/users/ayuwono/following{/other_user}","gists_url":"https://api.github.com/users/ayuwono/gists{/gist_id}","starred_url":"https://api.github.com/users/ayuwono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayuwono/subscriptions","organizations_url":"https://api.github.com/users/ayuwono/orgs","repos_url":"https://api.github.com/users/ayuwono/repos","events_url":"https://api.github.com/users/ayuwono/events{/privacy}","received_events_url":"https://api.github.com/users/ayuwono/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/marklogic/node-client-api/milestones/7","html_url":"https://github.com/marklogic/node-client-api/milestones/8.0-4","labels_url":"https://api.github.com/repos/marklogic/node-client-api/milestones/7/labels","id":1108718,"number":7,"title":"8.0-4","description":"The Node.js API release supporting the 8.0-4 release of MarkLogic server","creator":{"login":"ehennum","id":1170070,"avatar_url":"https://avatars.githubusercontent.com/u/1170070?v=3","gravatar_id":"","url":"https://api.github.com/users/ehennum","html_url":"https://github.com/ehennum","followers_url":"https://api.github.com/users/ehennum/followers","following_url":"https://api.github.com/users/ehennum/following{/other_user}","gists_url":"https://api.github.com/users/ehennum/gists{/gist_id}","starred_url":"https://api.github.com/users/ehennum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehennum/subscriptions","organizations_url":"https://api.github.com/users/ehennum/orgs","repos_url":"https://api.github.com/users/ehennum/repos","events_url":"https://api.github.com/users/ehennum/events{/privacy}","received_events_url":"https://api.github.com/users/ehennum/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":1,"state":"open","created_at":"2015-05-13T14:44:42Z","updated_at":"2015-07-21T23:42:31Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-06-30T18:17:29Z","updated_at":"2015-07-22T17:36:11Z","closed_at":null,"body":"Marklogic version: 8.0-2\r\nNode api version: 1.0.3\r\n\r\nI have created all the possible geolocation indexes and the code i tried is.\r\n\r\nqb.facet(\"count\", qb.property(\"geolocation\"))\r\n\r\nqb.facet(\"count\", qb.geoPropertyPair(\"geolocation\", \"lat\", \"lng\"))\r\n\r\nqb.facet(\"count\", qb.geoProperty(\"geolocation\"))\r\n\r\nqb.facet(\"count\", qb.geoElement(\"geolocation\"))\r\n\r\nStackoverflow question answered by 'ehennum' stating the bug: http://stackoverflow.com/questions/30645397/marklogicnodejs-api-facet-query-by-geolocation"},"comment":{"url":"https://api.github.com/repos/marklogic/node-client-api/issues/comments/123802558","html_url":"https://github.com/marklogic/node-client-api/issues/176#issuecomment-123802558","issue_url":"https://api.github.com/repos/marklogic/node-client-api/issues/176","id":123802558,"user":{"login":"ehennum","id":1170070,"avatar_url":"https://avatars.githubusercontent.com/u/1170070?v=3","gravatar_id":"","url":"https://api.github.com/users/ehennum","html_url":"https://github.com/ehennum","followers_url":"https://api.github.com/users/ehennum/followers","following_url":"https://api.github.com/users/ehennum/following{/other_user}","gists_url":"https://api.github.com/users/ehennum/gists{/gist_id}","starred_url":"https://api.github.com/users/ehennum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehennum/subscriptions","organizations_url":"https://api.github.com/users/ehennum/orgs","repos_url":"https://api.github.com/users/ehennum/repos","events_url":"https://api.github.com/users/ehennum/events{/privacy}","received_events_url":"https://api.github.com/users/ehennum/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T17:36:11Z","updated_at":"2015-07-22T17:36:11Z","body":"The unit test confirmed that geospatial facets works for a simple JSON point.  It might be useful to add a few other kinds of JSON geospatial facets to the complete regression."}}