{"action":"opened","issue":{"url":"https://api.github.com/repos/edina/Estates-Audit/issues/141","labels_url":"https://api.github.com/repos/edina/Estates-Audit/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/edina/Estates-Audit/issues/141/comments","events_url":"https://api.github.com/repos/edina/Estates-Audit/issues/141/events","html_url":"https://github.com/edina/Estates-Audit/issues/141","id":105614953,"number":141,"title":"Refactor ElasticSearchAPI so that only bounding box or current location need to be provided to do building search","user":{"login":"colingor","id":770283,"avatar_url":"https://avatars.githubusercontent.com/u/770283?v=3","gravatar_id":"","url":"https://api.github.com/users/colingor","html_url":"https://github.com/colingor","followers_url":"https://api.github.com/users/colingor/followers","following_url":"https://api.github.com/users/colingor/following{/other_user}","gists_url":"https://api.github.com/users/colingor/gists{/gist_id}","starred_url":"https://api.github.com/users/colingor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colingor/subscriptions","organizations_url":"https://api.github.com/users/colingor/orgs","repos_url":"https://api.github.com/users/colingor/repos","events_url":"https://api.github.com/users/colingor/events{/privacy}","received_events_url":"https://api.github.com/users/colingor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-09T14:57:57Z","updated_at":"2015-09-09T14:57:57Z","closed_at":null,"body":"Currently the ElasticSearch method for searching for buildings either within a bounding box or within a distance from the current location requires that the previously constructed json query be passed in as a parameter.  It would be better if we passed the responsibility for constructing the query to the ElasticSearch method so we should only have to provide either the bounding box or the current location."}}