{"action":"created","comment":{"url":"https://api.github.com/repos/diging/conceptpower/pulls/comments/175173396","pull_request_review_id":104667688,"id":175173396,"diff_hunk":"@@ -622,15 +653,20 @@ private void buildQuery(BooleanClause.Occur occur, PerFieldAnalyzerWrapper perFi\n \n     private void buildTokenizedOrWildCardQuery(LuceneField luceneFieldAnnotation, String searchString,\n             BooleanQuery.Builder tokenizedQueryBuilder) {\n-        for (String searchValue : searchString.split(\" \")) {\n+        String hypSearchStr = new String(searchString);\n+        hypSearchStr = searchString.replace('-', ' ');\n             if (luceneFieldAnnotation.isWildCardSearchEnabled()) {\n+                for (String searchValue : hypSearchStr.split(\" \")) {\n                 createWildCardSearchQuery(luceneFieldAnnotation, searchValue, tokenizedQueryBuilder, Occur.MUST);\n+                }\n             } else {\n+                for (String searchValue : hypSearchStr.split(\" \")) {\n                 tokenizedQueryBuilder.add(new PhraseQuery(luceneFieldAnnotation.lucenefieldName(), searchValue),\n                         Occur.MUST);\n+                }","path":"Conceptpower+Spring/src/main/java/edu/asu/conceptpower/app/lucene/impl/LuceneUtility.java","position":182,"original_position":182,"commit_id":"149da9793b6d45db6a4d1caf4e899aa8adaa64a9","original_commit_id":"149da9793b6d45db6a4d1caf4e899aa8adaa64a9","user":{"login":"susmitha8","id":24259698,"avatar_url":"https://avatars3.githubusercontent.com/u/24259698?v=4","gravatar_id":"","url":"https://api.github.com/users/susmitha8","html_url":"https://github.com/susmitha8","followers_url":"https://api.github.com/users/susmitha8/followers","following_url":"https://api.github.com/users/susmitha8/following{/other_user}","gists_url":"https://api.github.com/users/susmitha8/gists{/gist_id}","starred_url":"https://api.github.com/users/susmitha8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susmitha8/subscriptions","organizations_url":"https://api.github.com/users/susmitha8/orgs","repos_url":"https://api.github.com/users/susmitha8/repos","events_url":"https://api.github.com/users/susmitha8/events{/privacy}","received_events_url":"https://api.github.com/users/susmitha8/received_events","type":"User","site_admin":false},"body":"Yes, we discussed about instantiating the objects using builder so that analyzer can be applied to the fields and I am working on it. This pull request was raised before our discussion, so it wasn't implemented.","created_at":"2018-03-16T18:09:29Z","updated_at":"2018-03-16T18:09:29Z","html_url":"https://github.com/diging/conceptpower/pull/187#discussion_r175173396","pull_request_url":"https://api.github.com/repos/diging/conceptpower/pulls/187","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/comments/175173396"},"html":{"href":"https://github.com/diging/conceptpower/pull/187#discussion_r175173396"},"pull_request":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/187"}},"in_reply_to_id":174879980},"pull_request":{"url":"https://api.github.com/repos/diging/conceptpower/pulls/187","id":174753249,"html_url":"https://github.com/diging/conceptpower/pull/187","diff_url":"https://github.com/diging/conceptpower/pull/187.diff","patch_url":"https://github.com/diging/conceptpower/pull/187.patch","issue_url":"https://api.github.com/repos/diging/conceptpower/issues/187","number":187,"state":"closed","locked":false,"title":"Bug/ccp 230","user":{"login":"susmitha8","id":24259698,"avatar_url":"https://avatars3.githubusercontent.com/u/24259698?v=4","gravatar_id":"","url":"https://api.github.com/users/susmitha8","html_url":"https://github.com/susmitha8","followers_url":"https://api.github.com/users/susmitha8/followers","following_url":"https://api.github.com/users/susmitha8/following{/other_user}","gists_url":"https://api.github.com/users/susmitha8/gists{/gist_id}","starred_url":"https://api.github.com/users/susmitha8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susmitha8/subscriptions","organizations_url":"https://api.github.com/users/susmitha8/orgs","repos_url":"https://api.github.com/users/susmitha8/repos","events_url":"https://api.github.com/users/susmitha8/events{/privacy}","received_events_url":"https://api.github.com/users/susmitha8/received_events","type":"User","site_admin":false},"body":"Normalized the search values","created_at":"2018-03-13T18:38:32Z","updated_at":"2018-03-16T18:09:29Z","closed_at":"2018-03-15T18:13:07Z","merged_at":null,"merge_commit_sha":"420e27ace93f50d99d364a03d6300875784ad3f3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"chiraag-subramanian","id":23473237,"avatar_url":"https://avatars1.githubusercontent.com/u/23473237?v=4","gravatar_id":"","url":"https://api.github.com/users/chiraag-subramanian","html_url":"https://github.com/chiraag-subramanian","followers_url":"https://api.github.com/users/chiraag-subramanian/followers","following_url":"https://api.github.com/users/chiraag-subramanian/following{/other_user}","gists_url":"https://api.github.com/users/chiraag-subramanian/gists{/gist_id}","starred_url":"https://api.github.com/users/chiraag-subramanian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiraag-subramanian/subscriptions","organizations_url":"https://api.github.com/users/chiraag-subramanian/orgs","repos_url":"https://api.github.com/users/chiraag-subramanian/repos","events_url":"https://api.github.com/users/chiraag-subramanian/events{/privacy}","received_events_url":"https://api.github.com/users/chiraag-subramanian/received_events","type":"User","site_admin":false},{"login":"Mihika0409","id":27116269,"avatar_url":"https://avatars3.githubusercontent.com/u/27116269?v=4","gravatar_id":"","url":"https://api.github.com/users/Mihika0409","html_url":"https://github.com/Mihika0409","followers_url":"https://api.github.com/users/Mihika0409/followers","following_url":"https://api.github.com/users/Mihika0409/following{/other_user}","gists_url":"https://api.github.com/users/Mihika0409/gists{/gist_id}","starred_url":"https://api.github.com/users/Mihika0409/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mihika0409/subscriptions","organizations_url":"https://api.github.com/users/Mihika0409/orgs","repos_url":"https://api.github.com/users/Mihika0409/repos","events_url":"https://api.github.com/users/Mihika0409/events{/privacy}","received_events_url":"https://api.github.com/users/Mihika0409/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/diging/conceptpower/pulls/187/commits","review_comments_url":"https://api.github.com/repos/diging/conceptpower/pulls/187/comments","review_comment_url":"https://api.github.com/repos/diging/conceptpower/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diging/conceptpower/issues/187/comments","statuses_url":"https://api.github.com/repos/diging/conceptpower/statuses/149da9793b6d45db6a4d1caf4e899aa8adaa64a9","head":{"label":"diging:bug/CCP-230","ref":"bug/CCP-230","sha":"149da9793b6d45db6a4d1caf4e899aa8adaa64a9","user":{"login":"diging","id":5402168,"avatar_url":"https://avatars2.githubusercontent.com/u/5402168?v=4","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"repo":{"id":32412644,"name":"conceptpower","full_name":"diging/conceptpower","owner":{"login":"diging","id":5402168,"avatar_url":"https://avatars2.githubusercontent.com/u/5402168?v=4","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diging/conceptpower","description":"Authority file service based on WordNet 3.0","fork":false,"url":"https://api.github.com/repos/diging/conceptpower","forks_url":"https://api.github.com/repos/diging/conceptpower/forks","keys_url":"https://api.github.com/repos/diging/conceptpower/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diging/conceptpower/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diging/conceptpower/teams","hooks_url":"https://api.github.com/repos/diging/conceptpower/hooks","issue_events_url":"https://api.github.com/repos/diging/conceptpower/issues/events{/number}","events_url":"https://api.github.com/repos/diging/conceptpower/events","assignees_url":"https://api.github.com/repos/diging/conceptpower/assignees{/user}","branches_url":"https://api.github.com/repos/diging/conceptpower/branches{/branch}","tags_url":"https://api.github.com/repos/diging/conceptpower/tags","blobs_url":"https://api.github.com/repos/diging/conceptpower/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diging/conceptpower/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diging/conceptpower/git/refs{/sha}","trees_url":"https://api.github.com/repos/diging/conceptpower/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diging/conceptpower/statuses/{sha}","languages_url":"https://api.github.com/repos/diging/conceptpower/languages","stargazers_url":"https://api.github.com/repos/diging/conceptpower/stargazers","contributors_url":"https://api.github.com/repos/diging/conceptpower/contributors","subscribers_url":"https://api.github.com/repos/diging/conceptpower/subscribers","subscription_url":"https://api.github.com/repos/diging/conceptpower/subscription","commits_url":"https://api.github.com/repos/diging/conceptpower/commits{/sha}","git_commits_url":"https://api.github.com/repos/diging/conceptpower/git/commits{/sha}","comments_url":"https://api.github.com/repos/diging/conceptpower/comments{/number}","issue_comment_url":"https://api.github.com/repos/diging/conceptpower/issues/comments{/number}","contents_url":"https://api.github.com/repos/diging/conceptpower/contents/{+path}","compare_url":"https://api.github.com/repos/diging/conceptpower/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diging/conceptpower/merges","archive_url":"https://api.github.com/repos/diging/conceptpower/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diging/conceptpower/downloads","issues_url":"https://api.github.com/repos/diging/conceptpower/issues{/number}","pulls_url":"https://api.github.com/repos/diging/conceptpower/pulls{/number}","milestones_url":"https://api.github.com/repos/diging/conceptpower/milestones{/number}","notifications_url":"https://api.github.com/repos/diging/conceptpower/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diging/conceptpower/labels{/name}","releases_url":"https://api.github.com/repos/diging/conceptpower/releases{/id}","deployments_url":"https://api.github.com/repos/diging/conceptpower/deployments","created_at":"2015-03-17T18:35:40Z","updated_at":"2017-06-29T20:49:49Z","pushed_at":"2018-03-13T18:44:59Z","git_url":"git://github.com/diging/conceptpower.git","ssh_url":"git@github.com:diging/conceptpower.git","clone_url":"https://github.com/diging/conceptpower.git","svn_url":"https://github.com/diging/conceptpower","homepage":"https://diging.atlassian.net/wiki/display/CODOC/Conceptpower+Documentation","size":20608,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":1,"open_issues":1,"watchers":3,"default_branch":"develop"}},"base":{"label":"diging:develop","ref":"develop","sha":"a525f23958b9fd3d0409a88ea651381ada504a7a","user":{"login":"diging","id":5402168,"avatar_url":"https://avatars2.githubusercontent.com/u/5402168?v=4","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"repo":{"id":32412644,"name":"conceptpower","full_name":"diging/conceptpower","owner":{"login":"diging","id":5402168,"avatar_url":"https://avatars2.githubusercontent.com/u/5402168?v=4","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diging/conceptpower","description":"Authority file service based on WordNet 3.0","fork":false,"url":"https://api.github.com/repos/diging/conceptpower","forks_url":"https://api.github.com/repos/diging/conceptpower/forks","keys_url":"https://api.github.com/repos/diging/conceptpower/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diging/conceptpower/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diging/conceptpower/teams","hooks_url":"https://api.github.com/repos/diging/conceptpower/hooks","issue_events_url":"https://api.github.com/repos/diging/conceptpower/issues/events{/number}","events_url":"https://api.github.com/repos/diging/conceptpower/events","assignees_url":"https://api.github.com/repos/diging/conceptpower/assignees{/user}","branches_url":"https://api.github.com/repos/diging/conceptpower/branches{/branch}","tags_url":"https://api.github.com/repos/diging/conceptpower/tags","blobs_url":"https://api.github.com/repos/diging/conceptpower/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diging/conceptpower/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diging/conceptpower/git/refs{/sha}","trees_url":"https://api.github.com/repos/diging/conceptpower/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diging/conceptpower/statuses/{sha}","languages_url":"https://api.github.com/repos/diging/conceptpower/languages","stargazers_url":"https://api.github.com/repos/diging/conceptpower/stargazers","contributors_url":"https://api.github.com/repos/diging/conceptpower/contributors","subscribers_url":"https://api.github.com/repos/diging/conceptpower/subscribers","subscription_url":"https://api.github.com/repos/diging/conceptpower/subscription","commits_url":"https://api.github.com/repos/diging/conceptpower/commits{/sha}","git_commits_url":"https://api.github.com/repos/diging/conceptpower/git/commits{/sha}","comments_url":"https://api.github.com/repos/diging/conceptpower/comments{/number}","issue_comment_url":"https://api.github.com/repos/diging/conceptpower/issues/comments{/number}","contents_url":"https://api.github.com/repos/diging/conceptpower/contents/{+path}","compare_url":"https://api.github.com/repos/diging/conceptpower/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diging/conceptpower/merges","archive_url":"https://api.github.com/repos/diging/conceptpower/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diging/conceptpower/downloads","issues_url":"https://api.github.com/repos/diging/conceptpower/issues{/number}","pulls_url":"https://api.github.com/repos/diging/conceptpower/pulls{/number}","milestones_url":"https://api.github.com/repos/diging/conceptpower/milestones{/number}","notifications_url":"https://api.github.com/repos/diging/conceptpower/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diging/conceptpower/labels{/name}","releases_url":"https://api.github.com/repos/diging/conceptpower/releases{/id}","deployments_url":"https://api.github.com/repos/diging/conceptpower/deployments","created_at":"2015-03-17T18:35:40Z","updated_at":"2017-06-29T20:49:49Z","pushed_at":"2018-03-13T18:44:59Z","git_url":"git://github.com/diging/conceptpower.git","ssh_url":"git@github.com:diging/conceptpower.git","clone_url":"https://github.com/diging/conceptpower.git","svn_url":"https://github.com/diging/conceptpower","homepage":"https://diging.atlassian.net/wiki/display/CODOC/Conceptpower+Documentation","size":20608,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":1,"open_issues":1,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/187"},"html":{"href":"https://github.com/diging/conceptpower/pull/187"},"issue":{"href":"https://api.github.com/repos/diging/conceptpower/issues/187"},"comments":{"href":"https://api.github.com/repos/diging/conceptpower/issues/187/comments"},"review_comments":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/187/comments"},"review_comment":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/187/commits"},"statuses":{"href":"https://api.github.com/repos/diging/conceptpower/statuses/149da9793b6d45db6a4d1caf4e899aa8adaa64a9"}},"author_association":"NONE"}}
{"actor":{"display_login":"susmitha8"}}