{"action":"created","comment":{"url":"https://api.github.com/repos/okfn/bibserver/pulls/comments/45926735","id":45926735,"diff_hunk":"@@ -87,8 +87,8 @@ def implicit_facet(self):\n     def collections(self):\n         if len(self.parts) == 1:\n             if util.request_wants_json():\n-                res = bibserver.dao.Collection.query(size=1000000)\n-                colls = [i['_source'] for i in res['hits']['hits']]\n+                res = bibserver.dao.Collection.query(size=10000)","path":"bibserver/search.py","position":24,"original_position":24,"commit_id":"f5c9a5f6c3a7bbcbb192dd39d3dd858ad92f7655","original_commit_id":"f5c9a5f6c3a7bbcbb192dd39d3dd858ad92f7655","user":{"login":"loleg","id":31819,"avatar_url":"https://avatars.githubusercontent.com/u/31819?v=3","gravatar_id":"","url":"https://api.github.com/users/loleg","html_url":"https://github.com/loleg","followers_url":"https://api.github.com/users/loleg/followers","following_url":"https://api.github.com/users/loleg/following{/other_user}","gists_url":"https://api.github.com/users/loleg/gists{/gist_id}","starred_url":"https://api.github.com/users/loleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loleg/subscriptions","organizations_url":"https://api.github.com/users/loleg/orgs","repos_url":"https://api.github.com/users/loleg/repos","events_url":"https://api.github.com/users/loleg/events{/privacy}","received_events_url":"https://api.github.com/users/loleg/received_events","type":"User","site_admin":false},"body":"Same response :)","created_at":"2015-11-25T22:32:13Z","updated_at":"2015-11-25T22:32:13Z","html_url":"https://github.com/okfn/bibserver/pull/261#discussion_r45926735","pull_request_url":"https://api.github.com/repos/okfn/bibserver/pulls/261","_links":{"self":{"href":"https://api.github.com/repos/okfn/bibserver/pulls/comments/45926735"},"html":{"href":"https://github.com/okfn/bibserver/pull/261#discussion_r45926735"},"pull_request":{"href":"https://api.github.com/repos/okfn/bibserver/pulls/261"}}},"pull_request":{"url":"https://api.github.com/repos/okfn/bibserver/pulls/261","id":51775143,"html_url":"https://github.com/okfn/bibserver/pull/261","diff_url":"https://github.com/okfn/bibserver/pull/261.diff","patch_url":"https://github.com/okfn/bibserver/pull/261.patch","issue_url":"https://api.github.com/repos/okfn/bibserver/issues/261","number":261,"state":"open","locked":false,"title":"Updated pyes and Flask requirements","user":{"login":"loleg","id":31819,"avatar_url":"https://avatars.githubusercontent.com/u/31819?v=3","gravatar_id":"","url":"https://api.github.com/users/loleg","html_url":"https://github.com/loleg","followers_url":"https://api.github.com/users/loleg/followers","following_url":"https://api.github.com/users/loleg/following{/other_user}","gists_url":"https://api.github.com/users/loleg/gists{/gist_id}","starred_url":"https://api.github.com/users/loleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loleg/subscriptions","organizations_url":"https://api.github.com/users/loleg/orgs","repos_url":"https://api.github.com/users/loleg/repos","events_url":"https://api.github.com/users/loleg/events{/privacy}","received_events_url":"https://api.github.com/users/loleg/received_events","type":"User","site_admin":false},"body":"A best-effort to get the project to work again with a current stable version of ElasticSearch #260. Note that I am currently having an issue getting collections to appear in the main search results, and uploaded collections on the user page. User registration, login, collection creation, uploading, has been tested, but my lack of experience with the project has limited my ability to test this patch.","created_at":"2015-11-25T10:18:51Z","updated_at":"2015-11-25T22:32:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78a696bdc1fec2b5d6ea2dcde66264a9068e5b37","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/okfn/bibserver/pulls/261/commits","review_comments_url":"https://api.github.com/repos/okfn/bibserver/pulls/261/comments","review_comment_url":"https://api.github.com/repos/okfn/bibserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okfn/bibserver/issues/261/comments","statuses_url":"https://api.github.com/repos/okfn/bibserver/statuses/f5c9a5f6c3a7bbcbb192dd39d3dd858ad92f7655","head":{"label":"loleg:loleg-pyes-ff","ref":"loleg-pyes-ff","sha":"f5c9a5f6c3a7bbcbb192dd39d3dd858ad92f7655","user":{"login":"loleg","id":31819,"avatar_url":"https://avatars.githubusercontent.com/u/31819?v=3","gravatar_id":"","url":"https://api.github.com/users/loleg","html_url":"https://github.com/loleg","followers_url":"https://api.github.com/users/loleg/followers","following_url":"https://api.github.com/users/loleg/following{/other_user}","gists_url":"https://api.github.com/users/loleg/gists{/gist_id}","starred_url":"https://api.github.com/users/loleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loleg/subscriptions","organizations_url":"https://api.github.com/users/loleg/orgs","repos_url":"https://api.github.com/users/loleg/repos","events_url":"https://api.github.com/users/loleg/events{/privacy}","received_events_url":"https://api.github.com/users/loleg/received_events","type":"User","site_admin":false},"repo":{"id":46853866,"name":"bibserver","full_name":"loleg/bibserver","owner":{"login":"loleg","id":31819,"avatar_url":"https://avatars.githubusercontent.com/u/31819?v=3","gravatar_id":"","url":"https://api.github.com/users/loleg","html_url":"https://github.com/loleg","followers_url":"https://api.github.com/users/loleg/followers","following_url":"https://api.github.com/users/loleg/following{/other_user}","gists_url":"https://api.github.com/users/loleg/gists{/gist_id}","starred_url":"https://api.github.com/users/loleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loleg/subscriptions","organizations_url":"https://api.github.com/users/loleg/orgs","repos_url":"https://api.github.com/users/loleg/repos","events_url":"https://api.github.com/users/loleg/events{/privacy}","received_events_url":"https://api.github.com/users/loleg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loleg/bibserver","description":"BibServer is open-source software what makes it easy to publish, manage and find bibliographies. BibServer is RESTful and web-friendly.","fork":true,"url":"https://api.github.com/repos/loleg/bibserver","forks_url":"https://api.github.com/repos/loleg/bibserver/forks","keys_url":"https://api.github.com/repos/loleg/bibserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loleg/bibserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loleg/bibserver/teams","hooks_url":"https://api.github.com/repos/loleg/bibserver/hooks","issue_events_url":"https://api.github.com/repos/loleg/bibserver/issues/events{/number}","events_url":"https://api.github.com/repos/loleg/bibserver/events","assignees_url":"https://api.github.com/repos/loleg/bibserver/assignees{/user}","branches_url":"https://api.github.com/repos/loleg/bibserver/branches{/branch}","tags_url":"https://api.github.com/repos/loleg/bibserver/tags","blobs_url":"https://api.github.com/repos/loleg/bibserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loleg/bibserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loleg/bibserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/loleg/bibserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loleg/bibserver/statuses/{sha}","languages_url":"https://api.github.com/repos/loleg/bibserver/languages","stargazers_url":"https://api.github.com/repos/loleg/bibserver/stargazers","contributors_url":"https://api.github.com/repos/loleg/bibserver/contributors","subscribers_url":"https://api.github.com/repos/loleg/bibserver/subscribers","subscription_url":"https://api.github.com/repos/loleg/bibserver/subscription","commits_url":"https://api.github.com/repos/loleg/bibserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/loleg/bibserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/loleg/bibserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/loleg/bibserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/loleg/bibserver/contents/{+path}","compare_url":"https://api.github.com/repos/loleg/bibserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loleg/bibserver/merges","archive_url":"https://api.github.com/repos/loleg/bibserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loleg/bibserver/downloads","issues_url":"https://api.github.com/repos/loleg/bibserver/issues{/number}","pulls_url":"https://api.github.com/repos/loleg/bibserver/pulls{/number}","milestones_url":"https://api.github.com/repos/loleg/bibserver/milestones{/number}","notifications_url":"https://api.github.com/repos/loleg/bibserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loleg/bibserver/labels{/name}","releases_url":"https://api.github.com/repos/loleg/bibserver/releases{/id}","created_at":"2015-11-25T10:15:01Z","updated_at":"2015-11-25T10:15:03Z","pushed_at":"2015-11-25T10:16:50Z","git_url":"git://github.com/loleg/bibserver.git","ssh_url":"git@github.com:loleg/bibserver.git","clone_url":"https://github.com/loleg/bibserver.git","svn_url":"https://github.com/loleg/bibserver","homepage":"","size":12552,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"okfn:master","ref":"master","sha":"68034f411bfa05868f4c133a34419510d94b6dab","user":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"repo":{"id":2191145,"name":"bibserver","full_name":"okfn/bibserver","owner":{"login":"okfn","id":304263,"avatar_url":"https://avatars.githubusercontent.com/u/304263?v=3","gravatar_id":"","url":"https://api.github.com/users/okfn","html_url":"https://github.com/okfn","followers_url":"https://api.github.com/users/okfn/followers","following_url":"https://api.github.com/users/okfn/following{/other_user}","gists_url":"https://api.github.com/users/okfn/gists{/gist_id}","starred_url":"https://api.github.com/users/okfn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okfn/subscriptions","organizations_url":"https://api.github.com/users/okfn/orgs","repos_url":"https://api.github.com/users/okfn/repos","events_url":"https://api.github.com/users/okfn/events{/privacy}","received_events_url":"https://api.github.com/users/okfn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/okfn/bibserver","description":"BibServer is open-source software what makes it easy to publish, manage and find bibliographies. BibServer is RESTful and web-friendly.","fork":false,"url":"https://api.github.com/repos/okfn/bibserver","forks_url":"https://api.github.com/repos/okfn/bibserver/forks","keys_url":"https://api.github.com/repos/okfn/bibserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okfn/bibserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okfn/bibserver/teams","hooks_url":"https://api.github.com/repos/okfn/bibserver/hooks","issue_events_url":"https://api.github.com/repos/okfn/bibserver/issues/events{/number}","events_url":"https://api.github.com/repos/okfn/bibserver/events","assignees_url":"https://api.github.com/repos/okfn/bibserver/assignees{/user}","branches_url":"https://api.github.com/repos/okfn/bibserver/branches{/branch}","tags_url":"https://api.github.com/repos/okfn/bibserver/tags","blobs_url":"https://api.github.com/repos/okfn/bibserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okfn/bibserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okfn/bibserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/okfn/bibserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okfn/bibserver/statuses/{sha}","languages_url":"https://api.github.com/repos/okfn/bibserver/languages","stargazers_url":"https://api.github.com/repos/okfn/bibserver/stargazers","contributors_url":"https://api.github.com/repos/okfn/bibserver/contributors","subscribers_url":"https://api.github.com/repos/okfn/bibserver/subscribers","subscription_url":"https://api.github.com/repos/okfn/bibserver/subscription","commits_url":"https://api.github.com/repos/okfn/bibserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/okfn/bibserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/okfn/bibserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/okfn/bibserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/okfn/bibserver/contents/{+path}","compare_url":"https://api.github.com/repos/okfn/bibserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okfn/bibserver/merges","archive_url":"https://api.github.com/repos/okfn/bibserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okfn/bibserver/downloads","issues_url":"https://api.github.com/repos/okfn/bibserver/issues{/number}","pulls_url":"https://api.github.com/repos/okfn/bibserver/pulls{/number}","milestones_url":"https://api.github.com/repos/okfn/bibserver/milestones{/number}","notifications_url":"https://api.github.com/repos/okfn/bibserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okfn/bibserver/labels{/name}","releases_url":"https://api.github.com/repos/okfn/bibserver/releases{/id}","created_at":"2011-08-11T13:00:24Z","updated_at":"2015-07-29T12:28:01Z","pushed_at":"2015-11-25T10:18:51Z","git_url":"git://github.com/okfn/bibserver.git","ssh_url":"git@github.com:okfn/bibserver.git","clone_url":"https://github.com/okfn/bibserver.git","svn_url":"https://github.com/okfn/bibserver","homepage":"","size":12832,"stargazers_count":96,"watchers_count":96,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":24,"forks":28,"open_issues":24,"watchers":96,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/okfn/bibserver/pulls/261"},"html":{"href":"https://github.com/okfn/bibserver/pull/261"},"issue":{"href":"https://api.github.com/repos/okfn/bibserver/issues/261"},"comments":{"href":"https://api.github.com/repos/okfn/bibserver/issues/261/comments"},"review_comments":{"href":"https://api.github.com/repos/okfn/bibserver/pulls/261/comments"},"review_comment":{"href":"https://api.github.com/repos/okfn/bibserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okfn/bibserver/pulls/261/commits"},"statuses":{"href":"https://api.github.com/repos/okfn/bibserver/statuses/f5c9a5f6c3a7bbcbb192dd39d3dd858ad92f7655"}}}}