{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments/47655933","id":47655933,"diff_hunk":"@@ -35,7 +35,7 @@\n \n public final class SimilarityService extends AbstractIndexComponent {\n \n-    public final static String DEFAULT_SIMILARITY = \"default\";\n+    public final static String DEFAULT_SIMILARITY = \"classic\";","path":"core/src/main/java/org/elasticsearch/index/similarity/SimilarityService.java","position":5,"original_position":5,"commit_id":"7c6b0480009d0c56c689ba63661987df73ea0eae","original_commit_id":"7c6b0480009d0c56c689ba63661987df73ea0eae","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":"You mean BM25 as the default ?","created_at":"2015-12-15T16:01:42Z","updated_at":"2015-12-15T16:01:42Z","html_url":"https://github.com/elastic/elasticsearch/pull/15446#discussion_r47655933","pull_request_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/15446","_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments/47655933"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/15446#discussion_r47655933"},"pull_request":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/15446"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/15446","id":53716726,"html_url":"https://github.com/elastic/elasticsearch/pull/15446","diff_url":"https://github.com/elastic/elasticsearch/pull/15446.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/15446.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15446","number":15446,"state":"open","locked":false,"title":"Renames `default` similarity into `classic`","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":"Replaces deprecated DefaultSimilarity with ClassicSimilarity.","created_at":"2015-12-15T15:21:40Z","updated_at":"2015-12-15T16:01:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c601c494ab97ce795c0c668b4a0c075a3cf8d10","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/15446/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/15446/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15446/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/7c6b0480009d0c56c689ba63661987df73ea0eae","head":{"label":"jimferenczi:classic_similarity","ref":"classic_similarity","sha":"7c6b0480009d0c56c689ba63661987df73ea0eae","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}","created_at":"2015-11-24T09:08:46Z","updated_at":"2015-11-24T09:09:23Z","pushed_at":"2015-12-15T15:14:56Z","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":190216,"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":"210657a453290f8eb0210822517bab86cb103592","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}","created_at":"2010-02-08T13:20:56Z","updated_at":"2015-12-15T14:08:30Z","pushed_at":"2015-12-15T15:53:46Z","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":228693,"stargazers_count":14003,"watchers_count":14003,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4655,"mirror_url":null,"open_issues_count":1194,"forks":4655,"open_issues":1194,"watchers":14003,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/15446"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/15446"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/15446"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/15446/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/15446/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/15446/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch/statuses/7c6b0480009d0c56c689ba63661987df73ea0eae"}}}}