{"action":"created","comment":{"url":"https://api.github.com/repos/apache/nutch/pulls/comments/51668748","id":51668748,"diff_hunk":"@@ -43,7 +43,11 @@ public Configuration getConf() {\n   @Override\n   public void setConf(Configuration conf) {\n     this.conf = conf;\n-    similarityModel = new CosineSimilarityModel();\n+    switch(conf.get(\"scoring.similarity.model\",\"cosine\")){","path":"src/plugin/scoring-similarity/src/java/org/apache/nutch/scoring/similarity/SimilarityScoringFilter.java","position":28,"original_position":28,"commit_id":"04acb5809dcd7d88d8cf13dd9931969bd2a5a741","original_commit_id":"04acb5809dcd7d88d8cf13dd9931969bd2a5a741","user":{"login":"lewismc","id":1165719,"avatar_url":"https://avatars.githubusercontent.com/u/1165719?v=3","gravatar_id":"","url":"https://api.github.com/users/lewismc","html_url":"https://github.com/lewismc","followers_url":"https://api.github.com/users/lewismc/followers","following_url":"https://api.github.com/users/lewismc/following{/other_user}","gists_url":"https://api.github.com/users/lewismc/gists{/gist_id}","starred_url":"https://api.github.com/users/lewismc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewismc/subscriptions","organizations_url":"https://api.github.com/users/lewismc/orgs","repos_url":"https://api.github.com/users/lewismc/repos","events_url":"https://api.github.com/users/lewismc/events{/privacy}","received_events_url":"https://api.github.com/users/lewismc/received_events","type":"User","site_admin":false},"body":"This property does not yet exist in nutch-default.xml it needs to be added","created_at":"2016-02-03T01:55:42Z","updated_at":"2016-02-03T01:55:42Z","html_url":"https://github.com/apache/nutch/pull/87#discussion_r51668748","pull_request_url":"https://api.github.com/repos/apache/nutch/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/apache/nutch/pulls/comments/51668748"},"html":{"href":"https://github.com/apache/nutch/pull/87#discussion_r51668748"},"pull_request":{"href":"https://api.github.com/repos/apache/nutch/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/apache/nutch/pulls/87","id":57776582,"html_url":"https://github.com/apache/nutch/pull/87","diff_url":"https://github.com/apache/nutch/pull/87.diff","patch_url":"https://github.com/apache/nutch/pull/87.patch","issue_url":"https://api.github.com/repos/apache/nutch/issues/87","number":87,"state":"open","locked":false,"title":"Fix for NUTCH-2209 : Improved Tokenization for Similarity Scoring plugin (Sujen)","user":{"login":"sujen1412","id":6220682,"avatar_url":"https://avatars.githubusercontent.com/u/6220682?v=3","gravatar_id":"","url":"https://api.github.com/users/sujen1412","html_url":"https://github.com/sujen1412","followers_url":"https://api.github.com/users/sujen1412/followers","following_url":"https://api.github.com/users/sujen1412/following{/other_user}","gists_url":"https://api.github.com/users/sujen1412/gists{/gist_id}","starred_url":"https://api.github.com/users/sujen1412/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujen1412/subscriptions","organizations_url":"https://api.github.com/users/sujen1412/orgs","repos_url":"https://api.github.com/users/sujen1412/repos","events_url":"https://api.github.com/users/sujen1412/events{/privacy}","received_events_url":"https://api.github.com/users/sujen1412/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-31T18:54:42Z","updated_at":"2016-02-03T01:55:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e16dfb630bb8277ca4289217c8dd425f49c386d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/nutch/pulls/87/commits","review_comments_url":"https://api.github.com/repos/apache/nutch/pulls/87/comments","review_comment_url":"https://api.github.com/repos/apache/nutch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/nutch/issues/87/comments","statuses_url":"https://api.github.com/repos/apache/nutch/statuses/04acb5809dcd7d88d8cf13dd9931969bd2a5a741","head":{"label":"sujen1412:NUTCH-2209","ref":"NUTCH-2209","sha":"04acb5809dcd7d88d8cf13dd9931969bd2a5a741","user":{"login":"sujen1412","id":6220682,"avatar_url":"https://avatars.githubusercontent.com/u/6220682?v=3","gravatar_id":"","url":"https://api.github.com/users/sujen1412","html_url":"https://github.com/sujen1412","followers_url":"https://api.github.com/users/sujen1412/followers","following_url":"https://api.github.com/users/sujen1412/following{/other_user}","gists_url":"https://api.github.com/users/sujen1412/gists{/gist_id}","starred_url":"https://api.github.com/users/sujen1412/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujen1412/subscriptions","organizations_url":"https://api.github.com/users/sujen1412/orgs","repos_url":"https://api.github.com/users/sujen1412/repos","events_url":"https://api.github.com/users/sujen1412/events{/privacy}","received_events_url":"https://api.github.com/users/sujen1412/received_events","type":"User","site_admin":false},"repo":{"id":31738818,"name":"nutch","full_name":"sujen1412/nutch","owner":{"login":"sujen1412","id":6220682,"avatar_url":"https://avatars.githubusercontent.com/u/6220682?v=3","gravatar_id":"","url":"https://api.github.com/users/sujen1412","html_url":"https://github.com/sujen1412","followers_url":"https://api.github.com/users/sujen1412/followers","following_url":"https://api.github.com/users/sujen1412/following{/other_user}","gists_url":"https://api.github.com/users/sujen1412/gists{/gist_id}","starred_url":"https://api.github.com/users/sujen1412/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujen1412/subscriptions","organizations_url":"https://api.github.com/users/sujen1412/orgs","repos_url":"https://api.github.com/users/sujen1412/repos","events_url":"https://api.github.com/users/sujen1412/events{/privacy}","received_events_url":"https://api.github.com/users/sujen1412/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sujen1412/nutch","description":"Mirror of Apache Nutch","fork":true,"url":"https://api.github.com/repos/sujen1412/nutch","forks_url":"https://api.github.com/repos/sujen1412/nutch/forks","keys_url":"https://api.github.com/repos/sujen1412/nutch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sujen1412/nutch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sujen1412/nutch/teams","hooks_url":"https://api.github.com/repos/sujen1412/nutch/hooks","issue_events_url":"https://api.github.com/repos/sujen1412/nutch/issues/events{/number}","events_url":"https://api.github.com/repos/sujen1412/nutch/events","assignees_url":"https://api.github.com/repos/sujen1412/nutch/assignees{/user}","branches_url":"https://api.github.com/repos/sujen1412/nutch/branches{/branch}","tags_url":"https://api.github.com/repos/sujen1412/nutch/tags","blobs_url":"https://api.github.com/repos/sujen1412/nutch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sujen1412/nutch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sujen1412/nutch/git/refs{/sha}","trees_url":"https://api.github.com/repos/sujen1412/nutch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sujen1412/nutch/statuses/{sha}","languages_url":"https://api.github.com/repos/sujen1412/nutch/languages","stargazers_url":"https://api.github.com/repos/sujen1412/nutch/stargazers","contributors_url":"https://api.github.com/repos/sujen1412/nutch/contributors","subscribers_url":"https://api.github.com/repos/sujen1412/nutch/subscribers","subscription_url":"https://api.github.com/repos/sujen1412/nutch/subscription","commits_url":"https://api.github.com/repos/sujen1412/nutch/commits{/sha}","git_commits_url":"https://api.github.com/repos/sujen1412/nutch/git/commits{/sha}","comments_url":"https://api.github.com/repos/sujen1412/nutch/comments{/number}","issue_comment_url":"https://api.github.com/repos/sujen1412/nutch/issues/comments{/number}","contents_url":"https://api.github.com/repos/sujen1412/nutch/contents/{+path}","compare_url":"https://api.github.com/repos/sujen1412/nutch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sujen1412/nutch/merges","archive_url":"https://api.github.com/repos/sujen1412/nutch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sujen1412/nutch/downloads","issues_url":"https://api.github.com/repos/sujen1412/nutch/issues{/number}","pulls_url":"https://api.github.com/repos/sujen1412/nutch/pulls{/number}","milestones_url":"https://api.github.com/repos/sujen1412/nutch/milestones{/number}","notifications_url":"https://api.github.com/repos/sujen1412/nutch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sujen1412/nutch/labels{/name}","releases_url":"https://api.github.com/repos/sujen1412/nutch/releases{/id}","deployments_url":"https://api.github.com/repos/sujen1412/nutch/deployments","created_at":"2015-03-05T21:58:33Z","updated_at":"2016-01-26T19:08:07Z","pushed_at":"2016-02-02T18:02:11Z","git_url":"git://github.com/sujen1412/nutch.git","ssh_url":"git@github.com:sujen1412/nutch.git","clone_url":"https://github.com/sujen1412/nutch.git","svn_url":"https://github.com/sujen1412/nutch","homepage":null,"size":123378,"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":"trunk"}},"base":{"label":"apache:trunk","ref":"trunk","sha":"c2b8299f43ee264f9f9c5a8f51937e479b517e9f","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":206370,"name":"nutch","full_name":"apache/nutch","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/nutch","description":"Mirror of Apache Nutch","fork":false,"url":"https://api.github.com/repos/apache/nutch","forks_url":"https://api.github.com/repos/apache/nutch/forks","keys_url":"https://api.github.com/repos/apache/nutch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/nutch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/nutch/teams","hooks_url":"https://api.github.com/repos/apache/nutch/hooks","issue_events_url":"https://api.github.com/repos/apache/nutch/issues/events{/number}","events_url":"https://api.github.com/repos/apache/nutch/events","assignees_url":"https://api.github.com/repos/apache/nutch/assignees{/user}","branches_url":"https://api.github.com/repos/apache/nutch/branches{/branch}","tags_url":"https://api.github.com/repos/apache/nutch/tags","blobs_url":"https://api.github.com/repos/apache/nutch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/nutch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/nutch/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/nutch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/nutch/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/nutch/languages","stargazers_url":"https://api.github.com/repos/apache/nutch/stargazers","contributors_url":"https://api.github.com/repos/apache/nutch/contributors","subscribers_url":"https://api.github.com/repos/apache/nutch/subscribers","subscription_url":"https://api.github.com/repos/apache/nutch/subscription","commits_url":"https://api.github.com/repos/apache/nutch/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/nutch/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/nutch/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/nutch/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/nutch/contents/{+path}","compare_url":"https://api.github.com/repos/apache/nutch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/nutch/merges","archive_url":"https://api.github.com/repos/apache/nutch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/nutch/downloads","issues_url":"https://api.github.com/repos/apache/nutch/issues{/number}","pulls_url":"https://api.github.com/repos/apache/nutch/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/nutch/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/nutch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/nutch/labels{/name}","releases_url":"https://api.github.com/repos/apache/nutch/releases{/id}","deployments_url":"https://api.github.com/repos/apache/nutch/deployments","created_at":"2009-05-21T01:17:48Z","updated_at":"2016-02-02T02:39:11Z","pushed_at":"2016-02-02T18:02:13Z","git_url":"git://github.com/apache/nutch.git","ssh_url":"git@github.com:apache/nutch.git","clone_url":"https://github.com/apache/nutch.git","svn_url":"https://github.com/apache/nutch","homepage":null,"size":125245,"stargazers_count":584,"watchers_count":584,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":446,"mirror_url":"git://git.apache.org/nutch.git","open_issues_count":2,"forks":446,"open_issues":2,"watchers":584,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/nutch/pulls/87"},"html":{"href":"https://github.com/apache/nutch/pull/87"},"issue":{"href":"https://api.github.com/repos/apache/nutch/issues/87"},"comments":{"href":"https://api.github.com/repos/apache/nutch/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/nutch/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/nutch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/nutch/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/apache/nutch/statuses/04acb5809dcd7d88d8cf13dd9931969bd2a5a741"}}}}