{"action":"created","comment":{"url":"https://api.github.com/repos/toastdriven/django-haystack/pulls/comments/23172036","id":23172036,"diff_hunk":"@@ -731,6 +757,8 @@ def matching_all_fragment(self):\n \n     def add_spatial(self, lat, lon, sfield, distance, filter='bbox'):\n         \"\"\"Adds spatial query parameters to search query\"\"\"\n+        if six.PY3:\n+            long = int\n         kwargs = {\n             'lat': lat,\n             'long': long,","path":"haystack/backends/elasticsearch_backend.py","position":282,"original_position":282,"commit_id":"8031356d7b9316a8a84d1d7a42ac08adb1ef9949","original_commit_id":"8031356d7b9316a8a84d1d7a42ac08adb1ef9949","user":{"login":"acdha","id":46565,"avatar_url":"https://avatars.githubusercontent.com/u/46565?v=3","gravatar_id":"","url":"https://api.github.com/users/acdha","html_url":"https://github.com/acdha","followers_url":"https://api.github.com/users/acdha/followers","following_url":"https://api.github.com/users/acdha/following{/other_user}","gists_url":"https://api.github.com/users/acdha/gists{/gist_id}","starred_url":"https://api.github.com/users/acdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdha/subscriptions","organizations_url":"https://api.github.com/users/acdha/orgs","repos_url":"https://api.github.com/users/acdha/repos","events_url":"https://api.github.com/users/acdha/events{/privacy}","received_events_url":"https://api.github.com/users/acdha/received_events","type":"User","site_admin":false},"body":"I'm working on fixing the backend code now and updating the tests since we obviously didn't even enough coverage – ElasticSearch uses `lon` consistently and Solr appears to only use unnamed point pairs.","created_at":"2015-01-19T16:53:28Z","updated_at":"2015-01-19T16:53:28Z","html_url":"https://github.com/toastdriven/django-haystack/pull/1135#discussion_r23172036","pull_request_url":"https://api.github.com/repos/toastdriven/django-haystack/pulls/1135","_links":{"self":{"href":"https://api.github.com/repos/toastdriven/django-haystack/pulls/comments/23172036"},"html":{"href":"https://github.com/toastdriven/django-haystack/pull/1135#discussion_r23172036"},"pull_request":{"href":"https://api.github.com/repos/toastdriven/django-haystack/pulls/1135"}}},"pull_request":{"url":"https://api.github.com/repos/toastdriven/django-haystack/pulls/1135","id":27365141,"html_url":"https://github.com/toastdriven/django-haystack/pull/1135","diff_url":"https://github.com/toastdriven/django-haystack/pull/1135.diff","patch_url":"https://github.com/toastdriven/django-haystack/pull/1135.patch","issue_url":"https://api.github.com/repos/toastdriven/django-haystack/issues/1135","number":1135,"state":"open","locked":false,"title":"implementing _types, supporting python3, and currect database configuration","user":{"login":"arsham","id":428611,"avatar_url":"https://avatars.githubusercontent.com/u/428611?v=3","gravatar_id":"","url":"https://api.github.com/users/arsham","html_url":"https://github.com/arsham","followers_url":"https://api.github.com/users/arsham/followers","following_url":"https://api.github.com/users/arsham/following{/other_user}","gists_url":"https://api.github.com/users/arsham/gists{/gist_id}","starred_url":"https://api.github.com/users/arsham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsham/subscriptions","organizations_url":"https://api.github.com/users/arsham/orgs","repos_url":"https://api.github.com/users/arsham/repos","events_url":"https://api.github.com/users/arsham/events{/privacy}","received_events_url":"https://api.github.com/users/arsham/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-14T17:01:24Z","updated_at":"2015-01-19T16:53:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff5086edb120462941ea63883de47cf66c19b27c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/toastdriven/django-haystack/pulls/1135/commits","review_comments_url":"https://api.github.com/repos/toastdriven/django-haystack/pulls/1135/comments","review_comment_url":"https://api.github.com/repos/toastdriven/django-haystack/pulls/comments/{number}","comments_url":"https://api.github.com/repos/toastdriven/django-haystack/issues/1135/comments","statuses_url":"https://api.github.com/repos/toastdriven/django-haystack/statuses/8031356d7b9316a8a84d1d7a42ac08adb1ef9949","head":{"label":"arsham:master","ref":"master","sha":"8031356d7b9316a8a84d1d7a42ac08adb1ef9949","user":{"login":"arsham","id":428611,"avatar_url":"https://avatars.githubusercontent.com/u/428611?v=3","gravatar_id":"","url":"https://api.github.com/users/arsham","html_url":"https://github.com/arsham","followers_url":"https://api.github.com/users/arsham/followers","following_url":"https://api.github.com/users/arsham/following{/other_user}","gists_url":"https://api.github.com/users/arsham/gists{/gist_id}","starred_url":"https://api.github.com/users/arsham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsham/subscriptions","organizations_url":"https://api.github.com/users/arsham/orgs","repos_url":"https://api.github.com/users/arsham/repos","events_url":"https://api.github.com/users/arsham/events{/privacy}","received_events_url":"https://api.github.com/users/arsham/received_events","type":"User","site_admin":false},"repo":{"id":29025622,"name":"django-haystack","full_name":"arsham/django-haystack","owner":{"login":"arsham","id":428611,"avatar_url":"https://avatars.githubusercontent.com/u/428611?v=3","gravatar_id":"","url":"https://api.github.com/users/arsham","html_url":"https://github.com/arsham","followers_url":"https://api.github.com/users/arsham/followers","following_url":"https://api.github.com/users/arsham/following{/other_user}","gists_url":"https://api.github.com/users/arsham/gists{/gist_id}","starred_url":"https://api.github.com/users/arsham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsham/subscriptions","organizations_url":"https://api.github.com/users/arsham/orgs","repos_url":"https://api.github.com/users/arsham/repos","events_url":"https://api.github.com/users/arsham/events{/privacy}","received_events_url":"https://api.github.com/users/arsham/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arsham/django-haystack","description":"Modular search for Django. Currently v2.1.1-dev.","fork":true,"url":"https://api.github.com/repos/arsham/django-haystack","forks_url":"https://api.github.com/repos/arsham/django-haystack/forks","keys_url":"https://api.github.com/repos/arsham/django-haystack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arsham/django-haystack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arsham/django-haystack/teams","hooks_url":"https://api.github.com/repos/arsham/django-haystack/hooks","issue_events_url":"https://api.github.com/repos/arsham/django-haystack/issues/events{/number}","events_url":"https://api.github.com/repos/arsham/django-haystack/events","assignees_url":"https://api.github.com/repos/arsham/django-haystack/assignees{/user}","branches_url":"https://api.github.com/repos/arsham/django-haystack/branches{/branch}","tags_url":"https://api.github.com/repos/arsham/django-haystack/tags","blobs_url":"https://api.github.com/repos/arsham/django-haystack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arsham/django-haystack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arsham/django-haystack/git/refs{/sha}","trees_url":"https://api.github.com/repos/arsham/django-haystack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arsham/django-haystack/statuses/{sha}","languages_url":"https://api.github.com/repos/arsham/django-haystack/languages","stargazers_url":"https://api.github.com/repos/arsham/django-haystack/stargazers","contributors_url":"https://api.github.com/repos/arsham/django-haystack/contributors","subscribers_url":"https://api.github.com/repos/arsham/django-haystack/subscribers","subscription_url":"https://api.github.com/repos/arsham/django-haystack/subscription","commits_url":"https://api.github.com/repos/arsham/django-haystack/commits{/sha}","git_commits_url":"https://api.github.com/repos/arsham/django-haystack/git/commits{/sha}","comments_url":"https://api.github.com/repos/arsham/django-haystack/comments{/number}","issue_comment_url":"https://api.github.com/repos/arsham/django-haystack/issues/comments/{number}","contents_url":"https://api.github.com/repos/arsham/django-haystack/contents/{+path}","compare_url":"https://api.github.com/repos/arsham/django-haystack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arsham/django-haystack/merges","archive_url":"https://api.github.com/repos/arsham/django-haystack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arsham/django-haystack/downloads","issues_url":"https://api.github.com/repos/arsham/django-haystack/issues{/number}","pulls_url":"https://api.github.com/repos/arsham/django-haystack/pulls{/number}","milestones_url":"https://api.github.com/repos/arsham/django-haystack/milestones{/number}","notifications_url":"https://api.github.com/repos/arsham/django-haystack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arsham/django-haystack/labels{/name}","releases_url":"https://api.github.com/repos/arsham/django-haystack/releases{/id}","created_at":"2015-01-09T16:49:57Z","updated_at":"2015-01-14T18:01:10Z","pushed_at":"2015-01-19T16:47:31Z","git_url":"git://github.com/arsham/django-haystack.git","ssh_url":"git@github.com:arsham/django-haystack.git","clone_url":"https://github.com/arsham/django-haystack.git","svn_url":"https://github.com/arsham/django-haystack","homepage":"http://haystacksearch.org/","size":4000,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"toastdriven:master","ref":"master","sha":"74b9eba6fb572f6b3873a833535dfa42fc992795","user":{"login":"toastdriven","id":2449,"avatar_url":"https://avatars.githubusercontent.com/u/2449?v=3","gravatar_id":"","url":"https://api.github.com/users/toastdriven","html_url":"https://github.com/toastdriven","followers_url":"https://api.github.com/users/toastdriven/followers","following_url":"https://api.github.com/users/toastdriven/following{/other_user}","gists_url":"https://api.github.com/users/toastdriven/gists{/gist_id}","starred_url":"https://api.github.com/users/toastdriven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toastdriven/subscriptions","organizations_url":"https://api.github.com/users/toastdriven/orgs","repos_url":"https://api.github.com/users/toastdriven/repos","events_url":"https://api.github.com/users/toastdriven/events{/privacy}","received_events_url":"https://api.github.com/users/toastdriven/received_events","type":"User","site_admin":false},"repo":{"id":117549,"name":"django-haystack","full_name":"toastdriven/django-haystack","owner":{"login":"toastdriven","id":2449,"avatar_url":"https://avatars.githubusercontent.com/u/2449?v=3","gravatar_id":"","url":"https://api.github.com/users/toastdriven","html_url":"https://github.com/toastdriven","followers_url":"https://api.github.com/users/toastdriven/followers","following_url":"https://api.github.com/users/toastdriven/following{/other_user}","gists_url":"https://api.github.com/users/toastdriven/gists{/gist_id}","starred_url":"https://api.github.com/users/toastdriven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toastdriven/subscriptions","organizations_url":"https://api.github.com/users/toastdriven/orgs","repos_url":"https://api.github.com/users/toastdriven/repos","events_url":"https://api.github.com/users/toastdriven/events{/privacy}","received_events_url":"https://api.github.com/users/toastdriven/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toastdriven/django-haystack","description":"Modular search for Django. Currently v2.3.1.","fork":false,"url":"https://api.github.com/repos/toastdriven/django-haystack","forks_url":"https://api.github.com/repos/toastdriven/django-haystack/forks","keys_url":"https://api.github.com/repos/toastdriven/django-haystack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toastdriven/django-haystack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toastdriven/django-haystack/teams","hooks_url":"https://api.github.com/repos/toastdriven/django-haystack/hooks","issue_events_url":"https://api.github.com/repos/toastdriven/django-haystack/issues/events{/number}","events_url":"https://api.github.com/repos/toastdriven/django-haystack/events","assignees_url":"https://api.github.com/repos/toastdriven/django-haystack/assignees{/user}","branches_url":"https://api.github.com/repos/toastdriven/django-haystack/branches{/branch}","tags_url":"https://api.github.com/repos/toastdriven/django-haystack/tags","blobs_url":"https://api.github.com/repos/toastdriven/django-haystack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toastdriven/django-haystack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toastdriven/django-haystack/git/refs{/sha}","trees_url":"https://api.github.com/repos/toastdriven/django-haystack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toastdriven/django-haystack/statuses/{sha}","languages_url":"https://api.github.com/repos/toastdriven/django-haystack/languages","stargazers_url":"https://api.github.com/repos/toastdriven/django-haystack/stargazers","contributors_url":"https://api.github.com/repos/toastdriven/django-haystack/contributors","subscribers_url":"https://api.github.com/repos/toastdriven/django-haystack/subscribers","subscription_url":"https://api.github.com/repos/toastdriven/django-haystack/subscription","commits_url":"https://api.github.com/repos/toastdriven/django-haystack/commits{/sha}","git_commits_url":"https://api.github.com/repos/toastdriven/django-haystack/git/commits{/sha}","comments_url":"https://api.github.com/repos/toastdriven/django-haystack/comments{/number}","issue_comment_url":"https://api.github.com/repos/toastdriven/django-haystack/issues/comments/{number}","contents_url":"https://api.github.com/repos/toastdriven/django-haystack/contents/{+path}","compare_url":"https://api.github.com/repos/toastdriven/django-haystack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toastdriven/django-haystack/merges","archive_url":"https://api.github.com/repos/toastdriven/django-haystack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toastdriven/django-haystack/downloads","issues_url":"https://api.github.com/repos/toastdriven/django-haystack/issues{/number}","pulls_url":"https://api.github.com/repos/toastdriven/django-haystack/pulls{/number}","milestones_url":"https://api.github.com/repos/toastdriven/django-haystack/milestones{/number}","notifications_url":"https://api.github.com/repos/toastdriven/django-haystack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toastdriven/django-haystack/labels{/name}","releases_url":"https://api.github.com/repos/toastdriven/django-haystack/releases{/id}","created_at":"2009-01-29T20:23:57Z","updated_at":"2015-01-19T06:26:02Z","pushed_at":"2015-01-14T15:01:45Z","git_url":"git://github.com/toastdriven/django-haystack.git","ssh_url":"git@github.com:toastdriven/django-haystack.git","clone_url":"https://github.com/toastdriven/django-haystack.git","svn_url":"https://github.com/toastdriven/django-haystack","homepage":"http://haystacksearch.org/","size":8707,"stargazers_count":1614,"watchers_count":1614,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":676,"mirror_url":null,"open_issues_count":421,"forks":676,"open_issues":421,"watchers":1614,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/toastdriven/django-haystack/pulls/1135"},"html":{"href":"https://github.com/toastdriven/django-haystack/pull/1135"},"issue":{"href":"https://api.github.com/repos/toastdriven/django-haystack/issues/1135"},"comments":{"href":"https://api.github.com/repos/toastdriven/django-haystack/issues/1135/comments"},"review_comments":{"href":"https://api.github.com/repos/toastdriven/django-haystack/pulls/1135/comments"},"review_comment":{"href":"https://api.github.com/repos/toastdriven/django-haystack/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/toastdriven/django-haystack/pulls/1135/commits"},"statuses":{"href":"https://api.github.com/repos/toastdriven/django-haystack/statuses/8031356d7b9316a8a84d1d7a42ac08adb1ef9949"}}}}