{"action":"closed","number":20977,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/20977","id":89638515,"html_url":"https://github.com/elastic/elasticsearch/pull/20977","diff_url":"https://github.com/elastic/elasticsearch/pull/20977.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/20977.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/20977","number":20977,"state":"closed","locked":false,"title":"Max score should be updated when a rescorer is used","user":{"login":"jimferenczi","id":15977469,"avatar_url":"https://avatars.githubusercontent.com/u/15977469?v=3","gravatar_id":"","url":"https://api.github.com/users/jimferenczi","html_url":"https://github.com/jimferenczi","followers_url":"https://api.github.com/users/jimferenczi/followers","following_url":"https://api.github.com/users/jimferenczi/following{/other_user}","gists_url":"https://api.github.com/users/jimferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimferenczi/subscriptions","organizations_url":"https://api.github.com/users/jimferenczi/orgs","repos_url":"https://api.github.com/users/jimferenczi/repos","events_url":"https://api.github.com/users/jimferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimferenczi/received_events","type":"User","site_admin":false},"body":"The max score returned in the response of a query does not take rescorer into account.\r\nThis change updates the max_score when a rescorer is used in a query.\r\nFixes #20651","created_at":"2016-10-17T14:49:58Z","updated_at":"2016-10-20T10:38:29Z","closed_at":"2016-10-20T10:38:29Z","merged_at":"2016-10-20T10:38:28Z","merge_commit_sha":"adb30ac091b0503456d0846f8fb4ef40543ec5d4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/20977/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/20977/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/20977/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/e5ac088a67cb32a97f906374d5d7014c3db29569","head":{"label":"jimferenczi:rescore_max_score","ref":"rescore_max_score","sha":"e5ac088a67cb32a97f906374d5d7014c3db29569","user":{"login":"jimferenczi","id":15977469,"avatar_url":"https://avatars.githubusercontent.com/u/15977469?v=3","gravatar_id":"","url":"https://api.github.com/users/jimferenczi","html_url":"https://github.com/jimferenczi","followers_url":"https://api.github.com/users/jimferenczi/followers","following_url":"https://api.github.com/users/jimferenczi/following{/other_user}","gists_url":"https://api.github.com/users/jimferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimferenczi/subscriptions","organizations_url":"https://api.github.com/users/jimferenczi/orgs","repos_url":"https://api.github.com/users/jimferenczi/repos","events_url":"https://api.github.com/users/jimferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimferenczi/received_events","type":"User","site_admin":false},"repo":{"id":46779835,"name":"elasticsearch","full_name":"jimferenczi/elasticsearch","owner":{"login":"jimferenczi","id":15977469,"avatar_url":"https://avatars.githubusercontent.com/u/15977469?v=3","gravatar_id":"","url":"https://api.github.com/users/jimferenczi","html_url":"https://github.com/jimferenczi","followers_url":"https://api.github.com/users/jimferenczi/followers","following_url":"https://api.github.com/users/jimferenczi/following{/other_user}","gists_url":"https://api.github.com/users/jimferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimferenczi/subscriptions","organizations_url":"https://api.github.com/users/jimferenczi/orgs","repos_url":"https://api.github.com/users/jimferenczi/repos","events_url":"https://api.github.com/users/jimferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimferenczi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimferenczi/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":true,"url":"https://api.github.com/repos/jimferenczi/elasticsearch","forks_url":"https://api.github.com/repos/jimferenczi/elasticsearch/forks","keys_url":"https://api.github.com/repos/jimferenczi/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimferenczi/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimferenczi/elasticsearch/teams","hooks_url":"https://api.github.com/repos/jimferenczi/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/jimferenczi/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/jimferenczi/elasticsearch/events","assignees_url":"https://api.github.com/repos/jimferenczi/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/jimferenczi/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/jimferenczi/elasticsearch/tags","blobs_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimferenczi/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/jimferenczi/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/jimferenczi/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/jimferenczi/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/jimferenczi/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/jimferenczi/elasticsearch/subscription","commits_url":"https://api.github.com/repos/jimferenczi/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimferenczi/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimferenczi/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimferenczi/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimferenczi/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/jimferenczi/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimferenczi/elasticsearch/merges","archive_url":"https://api.github.com/repos/jimferenczi/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimferenczi/elasticsearch/downloads","issues_url":"https://api.github.com/repos/jimferenczi/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/jimferenczi/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/jimferenczi/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/jimferenczi/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimferenczi/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/jimferenczi/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/jimferenczi/elasticsearch/deployments","created_at":"2015-11-24T09:08:46Z","updated_at":"2016-01-11T09:19:57Z","pushed_at":"2016-10-20T10:33:35Z","git_url":"git://github.com/jimferenczi/elasticsearch.git","ssh_url":"git@github.com:jimferenczi/elasticsearch.git","clone_url":"https://github.com/jimferenczi/elasticsearch.git","svn_url":"https://github.com/jimferenczi/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":238291,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"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":"elastic:master","ref":"master","sha":"1bef6c7fee405e87eaab44229879d7e4f335b96d","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":507775,"name":"elasticsearch","full_name":"elastic/elasticsearch","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch","forks_url":"https://api.github.com/repos/elastic/elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch/deployments","created_at":"2010-02-08T13:20:56Z","updated_at":"2016-10-20T10:10:11Z","pushed_at":"2016-10-20T10:38:29Z","git_url":"git://github.com/elastic/elasticsearch.git","ssh_url":"git@github.com:elastic/elasticsearch.git","clone_url":"https://github.com/elastic/elasticsearch.git","svn_url":"https://github.com/elastic/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":363276,"stargazers_count":18917,"watchers_count":18917,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6441,"mirror_url":null,"open_issues_count":1121,"forks":6441,"open_issues":1121,"watchers":18917,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/20977"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/20977"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/20977"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/20977/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/20977/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/20977/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch/statuses/e5ac088a67cb32a97f906374d5d7014c3db29569"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jimferenczi","id":15977469,"avatar_url":"https://avatars.githubusercontent.com/u/15977469?v=3","gravatar_id":"","url":"https://api.github.com/users/jimferenczi","html_url":"https://github.com/jimferenczi","followers_url":"https://api.github.com/users/jimferenczi/followers","following_url":"https://api.github.com/users/jimferenczi/following{/other_user}","gists_url":"https://api.github.com/users/jimferenczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimferenczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimferenczi/subscriptions","organizations_url":"https://api.github.com/users/jimferenczi/orgs","repos_url":"https://api.github.com/users/jimferenczi/repos","events_url":"https://api.github.com/users/jimferenczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimferenczi/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":15,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"jimferenczi"}}