{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/146729873","pull_request_review_id":71714031,"id":146729873,"diff_hunk":"@@ -165,6 +165,10 @@\n \n   private String uiName;\n \n+  private Boolean showRelevanceScores = false;\n+\n+  private Integer relevancePrecision = 5;","path":"catalog/ui/catalog-ui-search/src/main/java/org/codice/ddf/catalog/ui/config/ConfigurationApplication.java","position":6,"original_position":6,"commit_id":"6f3f19d1d9aed39293d2936b57460b7704d78ebc","original_commit_id":"6f3f19d1d9aed39293d2936b57460b7704d78ebc","user":{"login":"mojogitoverhere","id":8922441,"avatar_url":"https://avatars2.githubusercontent.com/u/8922441?v=4","gravatar_id":"","url":"https://api.github.com/users/mojogitoverhere","html_url":"https://github.com/mojogitoverhere","followers_url":"https://api.github.com/users/mojogitoverhere/followers","following_url":"https://api.github.com/users/mojogitoverhere/following{/other_user}","gists_url":"https://api.github.com/users/mojogitoverhere/gists{/gist_id}","starred_url":"https://api.github.com/users/mojogitoverhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojogitoverhere/subscriptions","organizations_url":"https://api.github.com/users/mojogitoverhere/orgs","repos_url":"https://api.github.com/users/mojogitoverhere/repos","events_url":"https://api.github.com/users/mojogitoverhere/events{/privacy}","received_events_url":"https://api.github.com/users/mojogitoverhere/received_events","type":"User","site_admin":false},"body":"I'm leaving the Object versions since most of the other variables use them and primitives get wrapped in their Object versions anyways in the `Map<String,Object>` config map","created_at":"2017-10-25T00:35:52Z","updated_at":"2017-10-25T00:35:52Z","html_url":"https://github.com/codice/ddf/pull/2545#discussion_r146729873","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/2545","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/146729873"},"html":{"href":"https://github.com/codice/ddf/pull/2545#discussion_r146729873"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/2545"}},"in_reply_to_id":146639144},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/2545","id":148455252,"html_url":"https://github.com/codice/ddf/pull/2545","diff_url":"https://github.com/codice/ddf/pull/2545.diff","patch_url":"https://github.com/codice/ddf/pull/2545.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/2545","number":2545,"state":"open","locked":false,"title":"DDF-3399 Added relevance scores to results","user":{"login":"mojogitoverhere","id":8922441,"avatar_url":"https://avatars2.githubusercontent.com/u/8922441?v=4","gravatar_id":"","url":"https://api.github.com/users/mojogitoverhere","html_url":"https://github.com/mojogitoverhere","followers_url":"https://api.github.com/users/mojogitoverhere/followers","following_url":"https://api.github.com/users/mojogitoverhere/following{/other_user}","gists_url":"https://api.github.com/users/mojogitoverhere/gists{/gist_id}","starred_url":"https://api.github.com/users/mojogitoverhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojogitoverhere/subscriptions","organizations_url":"https://api.github.com/users/mojogitoverhere/orgs","repos_url":"https://api.github.com/users/mojogitoverhere/repos","events_url":"https://api.github.com/users/mojogitoverhere/events{/privacy}","received_events_url":"https://api.github.com/users/mojogitoverhere/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nAdds the ability for users to see the relevance scores of search results. Admins are able to toggle their visibility and set the precision of the scores (i.e. how many decimal places to round to). The exact relevance score can also be viewed by hovering over the rounded relevance score on each result.\r\n#### Who is reviewing it? \r\n(please choose AT LEAST two reviewers that need to approve the PR before it can get merged)\r\n@adimka @brianfelix @Variadicism @glenhein @millerw8 @djblue \r\n#### Select relevant component teams: \r\nhttps://github.com/orgs/codice/teams/ui\r\n#### Choose 2 committers to review/merge the PR. \r\n(please choose ONLY two committers from below, delete the rest)\r\n@andrewkfiedler\r\n@bdeining\r\n#### How should this be tested? (List steps with links to updated documentation)\r\nVerify the `Show Relevance Scores` option defaults to false and the `Relevance Precision` option defaults to 5. Ingest some data, perform a search, and verify no relevance scores are shown in the UI. Set `Show Relevance Scores` to true, perform a search, and verify the relevance scores are shown. Set the `Relevance Precision` to difference numbers to verify it is rounded correctly.\r\n#### Any background context you want to provide?\r\n#### What are the relevant tickets?\r\n[DDF-3399](https://codice.atlassian.net/browse/DDF-3399)\r\n#### Screenshots (if appropriate)\r\n<img width=\"581\" alt=\"screen shot 2017-10-24 at 9 51 58 am\" src=\"https://user-images.githubusercontent.com/8922441/31956723-2c9deea4-b8a1-11e7-8041-56c32d4ec799.png\">\r\n<img width=\"413\" alt=\"screen shot 2017-10-24 at 9 56 13 am\" src=\"https://user-images.githubusercontent.com/8922441/31956860-a6d1ab48-b8a1-11e7-81ed-36d02403cb13.png\">\r\n\r\n\r\n\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n- [ ] Update / Add Unit Tests\r\n- [ ] Update / Add Integration Tests\r\n#### Review Comment Legend:\r\n- ✏️ (Pencil) This comment is a nitpick or style suggestion, no action required for approval. This comment should provide a suggestion either as an in line code snippet or a gist. \r\n- ❓ (Question Mark) This comment is to gain a clearer understanding of design or code choices, clarification is required but action may not be necessary for approval.\r\n- ❗ (Exclamation Mark) This comment is critical and requires clarification or action before approval.\r\n","created_at":"2017-10-24T16:55:29Z","updated_at":"2017-10-25T00:35:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"484935acaf88cd3b99259f6d625fe44cc5324c88","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rzwiefel","id":9013416,"avatar_url":"https://avatars0.githubusercontent.com/u/9013416?v=4","gravatar_id":"","url":"https://api.github.com/users/rzwiefel","html_url":"https://github.com/rzwiefel","followers_url":"https://api.github.com/users/rzwiefel/followers","following_url":"https://api.github.com/users/rzwiefel/following{/other_user}","gists_url":"https://api.github.com/users/rzwiefel/gists{/gist_id}","starred_url":"https://api.github.com/users/rzwiefel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzwiefel/subscriptions","organizations_url":"https://api.github.com/users/rzwiefel/orgs","repos_url":"https://api.github.com/users/rzwiefel/repos","events_url":"https://api.github.com/users/rzwiefel/events{/privacy}","received_events_url":"https://api.github.com/users/rzwiefel/received_events","type":"User","site_admin":false},{"login":"andrewkfiedler","id":11984853,"avatar_url":"https://avatars3.githubusercontent.com/u/11984853?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewkfiedler","html_url":"https://github.com/andrewkfiedler","followers_url":"https://api.github.com/users/andrewkfiedler/followers","following_url":"https://api.github.com/users/andrewkfiedler/following{/other_user}","gists_url":"https://api.github.com/users/andrewkfiedler/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewkfiedler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewkfiedler/subscriptions","organizations_url":"https://api.github.com/users/andrewkfiedler/orgs","repos_url":"https://api.github.com/users/andrewkfiedler/repos","events_url":"https://api.github.com/users/andrewkfiedler/events{/privacy}","received_events_url":"https://api.github.com/users/andrewkfiedler/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/2545/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/2545/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/2545/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/6f3f19d1d9aed39293d2936b57460b7704d78ebc","head":{"label":"mojogitoverhere:DDF-3399","ref":"DDF-3399","sha":"6f3f19d1d9aed39293d2936b57460b7704d78ebc","user":{"login":"mojogitoverhere","id":8922441,"avatar_url":"https://avatars2.githubusercontent.com/u/8922441?v=4","gravatar_id":"","url":"https://api.github.com/users/mojogitoverhere","html_url":"https://github.com/mojogitoverhere","followers_url":"https://api.github.com/users/mojogitoverhere/followers","following_url":"https://api.github.com/users/mojogitoverhere/following{/other_user}","gists_url":"https://api.github.com/users/mojogitoverhere/gists{/gist_id}","starred_url":"https://api.github.com/users/mojogitoverhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojogitoverhere/subscriptions","organizations_url":"https://api.github.com/users/mojogitoverhere/orgs","repos_url":"https://api.github.com/users/mojogitoverhere/repos","events_url":"https://api.github.com/users/mojogitoverhere/events{/privacy}","received_events_url":"https://api.github.com/users/mojogitoverhere/received_events","type":"User","site_admin":false},"repo":{"id":102148662,"name":"ddf","full_name":"mojogitoverhere/ddf","owner":{"login":"mojogitoverhere","id":8922441,"avatar_url":"https://avatars2.githubusercontent.com/u/8922441?v=4","gravatar_id":"","url":"https://api.github.com/users/mojogitoverhere","html_url":"https://github.com/mojogitoverhere","followers_url":"https://api.github.com/users/mojogitoverhere/followers","following_url":"https://api.github.com/users/mojogitoverhere/following{/other_user}","gists_url":"https://api.github.com/users/mojogitoverhere/gists{/gist_id}","starred_url":"https://api.github.com/users/mojogitoverhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojogitoverhere/subscriptions","organizations_url":"https://api.github.com/users/mojogitoverhere/orgs","repos_url":"https://api.github.com/users/mojogitoverhere/repos","events_url":"https://api.github.com/users/mojogitoverhere/events{/privacy}","received_events_url":"https://api.github.com/users/mojogitoverhere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mojogitoverhere/ddf","description":"Distributed Data Framework - an open source, modular integration framework.","fork":true,"url":"https://api.github.com/repos/mojogitoverhere/ddf","forks_url":"https://api.github.com/repos/mojogitoverhere/ddf/forks","keys_url":"https://api.github.com/repos/mojogitoverhere/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mojogitoverhere/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mojogitoverhere/ddf/teams","hooks_url":"https://api.github.com/repos/mojogitoverhere/ddf/hooks","issue_events_url":"https://api.github.com/repos/mojogitoverhere/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/mojogitoverhere/ddf/events","assignees_url":"https://api.github.com/repos/mojogitoverhere/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/mojogitoverhere/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/mojogitoverhere/ddf/tags","blobs_url":"https://api.github.com/repos/mojogitoverhere/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mojogitoverhere/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mojogitoverhere/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/mojogitoverhere/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mojogitoverhere/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/mojogitoverhere/ddf/languages","stargazers_url":"https://api.github.com/repos/mojogitoverhere/ddf/stargazers","contributors_url":"https://api.github.com/repos/mojogitoverhere/ddf/contributors","subscribers_url":"https://api.github.com/repos/mojogitoverhere/ddf/subscribers","subscription_url":"https://api.github.com/repos/mojogitoverhere/ddf/subscription","commits_url":"https://api.github.com/repos/mojogitoverhere/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/mojogitoverhere/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/mojogitoverhere/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/mojogitoverhere/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/mojogitoverhere/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/mojogitoverhere/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mojogitoverhere/ddf/merges","archive_url":"https://api.github.com/repos/mojogitoverhere/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mojogitoverhere/ddf/downloads","issues_url":"https://api.github.com/repos/mojogitoverhere/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/mojogitoverhere/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/mojogitoverhere/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/mojogitoverhere/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mojogitoverhere/ddf/labels{/name}","releases_url":"https://api.github.com/repos/mojogitoverhere/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/mojogitoverhere/ddf/deployments","created_at":"2017-09-01T19:59:47Z","updated_at":"2017-09-01T20:00:06Z","pushed_at":"2017-10-23T22:21:57Z","git_url":"git://github.com/mojogitoverhere/ddf.git","ssh_url":"git@github.com:mojogitoverhere/ddf.git","clone_url":"https://github.com/mojogitoverhere/ddf.git","svn_url":"https://github.com/mojogitoverhere/ddf","homepage":"http://ddf.codice.org","size":347372,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codice:master","ref":"master","sha":"22a595fe3975c922a1e1adbce49dbe5c2640b81d","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars2.githubusercontent.com/u/2386734?v=4","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"repo":{"id":15173563,"name":"ddf","full_name":"codice/ddf","owner":{"login":"codice","id":2386734,"avatar_url":"https://avatars2.githubusercontent.com/u/2386734?v=4","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codice/ddf","description":"DDF Distributed Data Framework - an open source, modular integration framework.","fork":false,"url":"https://api.github.com/repos/codice/ddf","forks_url":"https://api.github.com/repos/codice/ddf/forks","keys_url":"https://api.github.com/repos/codice/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf/teams","hooks_url":"https://api.github.com/repos/codice/ddf/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf/events","assignees_url":"https://api.github.com/repos/codice/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf/tags","blobs_url":"https://api.github.com/repos/codice/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf/languages","stargazers_url":"https://api.github.com/repos/codice/ddf/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf/subscription","commits_url":"https://api.github.com/repos/codice/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf/merges","archive_url":"https://api.github.com/repos/codice/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf/downloads","issues_url":"https://api.github.com/repos/codice/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/codice/ddf/deployments","created_at":"2013-12-13T20:38:28Z","updated_at":"2017-10-24T19:29:40Z","pushed_at":"2017-10-24T23:29:34Z","git_url":"git://github.com/codice/ddf.git","ssh_url":"git@github.com:codice/ddf.git","clone_url":"https://github.com/codice/ddf.git","svn_url":"https://github.com/codice/ddf","homepage":"http://ddf.codice.org","size":359335,"stargazers_count":67,"watchers_count":67,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":121,"mirror_url":null,"archived":false,"open_issues_count":58,"forks":121,"open_issues":58,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/2545"},"html":{"href":"https://github.com/codice/ddf/pull/2545"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/2545"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/2545/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/2545/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/2545/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/6f3f19d1d9aed39293d2936b57460b7704d78ebc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mojogitoverhere"}}