{"action":"created","comment":{"url":"https://api.github.com/repos/windup/windup/pulls/comments/46425831","id":46425831,"diff_hunk":"@@ -1,19 +1,24 @@\n package org.jboss.windup.reporting.model;\n \n-import com.tinkerpop.frames.Property;\n+import org.jboss.windup.graph.IndexType;\n+import org.jboss.windup.graph.Indexed;\n import org.jboss.windup.graph.model.WindupVertexFrame;\n \n+import com.tinkerpop.frames.Property;\n+import com.tinkerpop.frames.modules.typedgraph.TypeValue;\n+\n /**\n  *  Aggregates the common properties of all the items generating effort for the Application.\n  *\n  *  @author <a href=\"mailto:mbriskar@gmail.com\">Matej Briskar</a>\n  */\n+@TypeValue(EffortReportModel.TYPE)\n public interface EffortReportModel extends WindupVertexFrame\n {\n-    static final String TYPE = \"ClassificationModel\";\n-    static final String TYPE_PREFIX = TYPE + \":\";\n-    static final String EFFORT = TYPE_PREFIX + \"effort\";\n-    static final String SEVERITY = TYPE_PREFIX + TYPE_PREFIX + \"severity\";\n+    String TYPE = \"EffortReportModel\";\n+    String TYPE_PREFIX = TYPE + \":\";\n+    String EFFORT = \"EffortReportModelEffort\"; // don't use the prefix as we can't name the index with an \"_\"","path":"reporting/api/src/main/java/org/jboss/windup/reporting/model/EffortReportModel.java","position":25,"original_position":25,"commit_id":"dcfe40a15d9b60ff2daa8b7de997aaeed6e83373","original_commit_id":"dcfe40a15d9b60ff2daa8b7de997aaeed6e83373","user":{"login":"jsight","id":1181549,"avatar_url":"https://avatars.githubusercontent.com/u/1181549?v=3","gravatar_id":"","url":"https://api.github.com/users/jsight","html_url":"https://github.com/jsight","followers_url":"https://api.github.com/users/jsight/followers","following_url":"https://api.github.com/users/jsight/following{/other_user}","gists_url":"https://api.github.com/users/jsight/gists{/gist_id}","starred_url":"https://api.github.com/users/jsight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsight/subscriptions","organizations_url":"https://api.github.com/users/jsight/orgs","repos_url":"https://api.github.com/users/jsight/repos","events_url":"https://api.github.com/users/jsight/events{/privacy}","received_events_url":"https://api.github.com/users/jsight/received_events","type":"User","site_admin":false},"body":"Yes, it is a lucene limitation on search indexes.","created_at":"2015-12-02T15:15:35Z","updated_at":"2015-12-02T15:15:35Z","html_url":"https://github.com/windup/windup/pull/769#discussion_r46425831","pull_request_url":"https://api.github.com/repos/windup/windup/pulls/769","_links":{"self":{"href":"https://api.github.com/repos/windup/windup/pulls/comments/46425831"},"html":{"href":"https://github.com/windup/windup/pull/769#discussion_r46425831"},"pull_request":{"href":"https://api.github.com/repos/windup/windup/pulls/769"}}},"pull_request":{"url":"https://api.github.com/repos/windup/windup/pulls/769","id":51730274,"html_url":"https://github.com/windup/windup/pull/769","diff_url":"https://github.com/windup/windup/pull/769.diff","patch_url":"https://github.com/windup/windup/pull/769.patch","issue_url":"https://api.github.com/repos/windup/windup/issues/769","number":769,"state":"open","locked":false,"title":"Reporting speed fixes","user":{"login":"jsight","id":1181549,"avatar_url":"https://avatars.githubusercontent.com/u/1181549?v=3","gravatar_id":"","url":"https://api.github.com/users/jsight","html_url":"https://github.com/jsight","followers_url":"https://api.github.com/users/jsight/followers","following_url":"https://api.github.com/users/jsight/following{/other_user}","gists_url":"https://api.github.com/users/jsight/gists{/gist_id}","starred_url":"https://api.github.com/users/jsight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsight/subscriptions","organizations_url":"https://api.github.com/users/jsight/orgs","repos_url":"https://api.github.com/users/jsight/repos","events_url":"https://api.github.com/users/jsight/events{/privacy}","received_events_url":"https://api.github.com/users/jsight/received_events","type":"User","site_admin":false},"body":"The main change is that EffortReportModel now does a range index on effort.\r\nThe effort calculation queries now use this and run much quicker.\r\n(also, hint and classification operations now show their timings in the detailed_stats.csv)","created_at":"2015-11-24T23:02:33Z","updated_at":"2015-12-02T15:15:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45f76dbc0804a55722571dab6aebdbeb66d72db6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/windup/windup/pulls/769/commits","review_comments_url":"https://api.github.com/repos/windup/windup/pulls/769/comments","review_comment_url":"https://api.github.com/repos/windup/windup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/windup/windup/issues/769/comments","statuses_url":"https://api.github.com/repos/windup/windup/statuses/dcfe40a15d9b60ff2daa8b7de997aaeed6e83373","head":{"label":"jsight:reporting_speed_fixes","ref":"reporting_speed_fixes","sha":"dcfe40a15d9b60ff2daa8b7de997aaeed6e83373","user":{"login":"jsight","id":1181549,"avatar_url":"https://avatars.githubusercontent.com/u/1181549?v=3","gravatar_id":"","url":"https://api.github.com/users/jsight","html_url":"https://github.com/jsight","followers_url":"https://api.github.com/users/jsight/followers","following_url":"https://api.github.com/users/jsight/following{/other_user}","gists_url":"https://api.github.com/users/jsight/gists{/gist_id}","starred_url":"https://api.github.com/users/jsight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsight/subscriptions","organizations_url":"https://api.github.com/users/jsight/orgs","repos_url":"https://api.github.com/users/jsight/repos","events_url":"https://api.github.com/users/jsight/events{/privacy}","received_events_url":"https://api.github.com/users/jsight/received_events","type":"User","site_admin":false},"repo":{"id":9947213,"name":"windup","full_name":"jsight/windup","owner":{"login":"jsight","id":1181549,"avatar_url":"https://avatars.githubusercontent.com/u/1181549?v=3","gravatar_id":"","url":"https://api.github.com/users/jsight","html_url":"https://github.com/jsight","followers_url":"https://api.github.com/users/jsight/followers","following_url":"https://api.github.com/users/jsight/following{/other_user}","gists_url":"https://api.github.com/users/jsight/gists{/gist_id}","starred_url":"https://api.github.com/users/jsight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsight/subscriptions","organizations_url":"https://api.github.com/users/jsight/orgs","repos_url":"https://api.github.com/users/jsight/repos","events_url":"https://api.github.com/users/jsight/events{/privacy}","received_events_url":"https://api.github.com/users/jsight/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsight/windup","description":"Windup","fork":true,"url":"https://api.github.com/repos/jsight/windup","forks_url":"https://api.github.com/repos/jsight/windup/forks","keys_url":"https://api.github.com/repos/jsight/windup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsight/windup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsight/windup/teams","hooks_url":"https://api.github.com/repos/jsight/windup/hooks","issue_events_url":"https://api.github.com/repos/jsight/windup/issues/events{/number}","events_url":"https://api.github.com/repos/jsight/windup/events","assignees_url":"https://api.github.com/repos/jsight/windup/assignees{/user}","branches_url":"https://api.github.com/repos/jsight/windup/branches{/branch}","tags_url":"https://api.github.com/repos/jsight/windup/tags","blobs_url":"https://api.github.com/repos/jsight/windup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsight/windup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsight/windup/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsight/windup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsight/windup/statuses/{sha}","languages_url":"https://api.github.com/repos/jsight/windup/languages","stargazers_url":"https://api.github.com/repos/jsight/windup/stargazers","contributors_url":"https://api.github.com/repos/jsight/windup/contributors","subscribers_url":"https://api.github.com/repos/jsight/windup/subscribers","subscription_url":"https://api.github.com/repos/jsight/windup/subscription","commits_url":"https://api.github.com/repos/jsight/windup/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsight/windup/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsight/windup/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsight/windup/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsight/windup/contents/{+path}","compare_url":"https://api.github.com/repos/jsight/windup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsight/windup/merges","archive_url":"https://api.github.com/repos/jsight/windup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsight/windup/downloads","issues_url":"https://api.github.com/repos/jsight/windup/issues{/number}","pulls_url":"https://api.github.com/repos/jsight/windup/pulls{/number}","milestones_url":"https://api.github.com/repos/jsight/windup/milestones{/number}","notifications_url":"https://api.github.com/repos/jsight/windup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsight/windup/labels{/name}","releases_url":"https://api.github.com/repos/jsight/windup/releases{/id}","created_at":"2013-05-08T22:22:27Z","updated_at":"2015-05-06T17:38:10Z","pushed_at":"2015-12-02T13:23:28Z","git_url":"git://github.com/jsight/windup.git","ssh_url":"git@github.com:jsight/windup.git","clone_url":"https://github.com/jsight/windup.git","svn_url":"https://github.com/jsight/windup","homepage":null,"size":39479,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"windup:master","ref":"master","sha":"d41625b48f1e9bed27e265011780bad4fa18ce7e","user":{"login":"windup","id":4266383,"avatar_url":"https://avatars.githubusercontent.com/u/4266383?v=3","gravatar_id":"","url":"https://api.github.com/users/windup","html_url":"https://github.com/windup","followers_url":"https://api.github.com/users/windup/followers","following_url":"https://api.github.com/users/windup/following{/other_user}","gists_url":"https://api.github.com/users/windup/gists{/gist_id}","starred_url":"https://api.github.com/users/windup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windup/subscriptions","organizations_url":"https://api.github.com/users/windup/orgs","repos_url":"https://api.github.com/users/windup/repos","events_url":"https://api.github.com/users/windup/events{/privacy}","received_events_url":"https://api.github.com/users/windup/received_events","type":"Organization","site_admin":false},"repo":{"id":9702026,"name":"windup","full_name":"windup/windup","owner":{"login":"windup","id":4266383,"avatar_url":"https://avatars.githubusercontent.com/u/4266383?v=3","gravatar_id":"","url":"https://api.github.com/users/windup","html_url":"https://github.com/windup","followers_url":"https://api.github.com/users/windup/followers","following_url":"https://api.github.com/users/windup/following{/other_user}","gists_url":"https://api.github.com/users/windup/gists{/gist_id}","starred_url":"https://api.github.com/users/windup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windup/subscriptions","organizations_url":"https://api.github.com/users/windup/orgs","repos_url":"https://api.github.com/users/windup/repos","events_url":"https://api.github.com/users/windup/events{/privacy}","received_events_url":"https://api.github.com/users/windup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/windup/windup","description":"Windup - JBoss Automated Migration Tool","fork":false,"url":"https://api.github.com/repos/windup/windup","forks_url":"https://api.github.com/repos/windup/windup/forks","keys_url":"https://api.github.com/repos/windup/windup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/windup/windup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/windup/windup/teams","hooks_url":"https://api.github.com/repos/windup/windup/hooks","issue_events_url":"https://api.github.com/repos/windup/windup/issues/events{/number}","events_url":"https://api.github.com/repos/windup/windup/events","assignees_url":"https://api.github.com/repos/windup/windup/assignees{/user}","branches_url":"https://api.github.com/repos/windup/windup/branches{/branch}","tags_url":"https://api.github.com/repos/windup/windup/tags","blobs_url":"https://api.github.com/repos/windup/windup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/windup/windup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/windup/windup/git/refs{/sha}","trees_url":"https://api.github.com/repos/windup/windup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/windup/windup/statuses/{sha}","languages_url":"https://api.github.com/repos/windup/windup/languages","stargazers_url":"https://api.github.com/repos/windup/windup/stargazers","contributors_url":"https://api.github.com/repos/windup/windup/contributors","subscribers_url":"https://api.github.com/repos/windup/windup/subscribers","subscription_url":"https://api.github.com/repos/windup/windup/subscription","commits_url":"https://api.github.com/repos/windup/windup/commits{/sha}","git_commits_url":"https://api.github.com/repos/windup/windup/git/commits{/sha}","comments_url":"https://api.github.com/repos/windup/windup/comments{/number}","issue_comment_url":"https://api.github.com/repos/windup/windup/issues/comments{/number}","contents_url":"https://api.github.com/repos/windup/windup/contents/{+path}","compare_url":"https://api.github.com/repos/windup/windup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/windup/windup/merges","archive_url":"https://api.github.com/repos/windup/windup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/windup/windup/downloads","issues_url":"https://api.github.com/repos/windup/windup/issues{/number}","pulls_url":"https://api.github.com/repos/windup/windup/pulls{/number}","milestones_url":"https://api.github.com/repos/windup/windup/milestones{/number}","notifications_url":"https://api.github.com/repos/windup/windup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/windup/windup/labels{/name}","releases_url":"https://api.github.com/repos/windup/windup/releases{/id}","created_at":"2013-04-26T18:52:08Z","updated_at":"2015-11-01T18:55:50Z","pushed_at":"2015-12-02T14:00:56Z","git_url":"git://github.com/windup/windup.git","ssh_url":"git@github.com:windup/windup.git","clone_url":"https://github.com/windup/windup.git","svn_url":"https://github.com/windup/windup","homepage":"","size":112289,"stargazers_count":47,"watchers_count":47,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":67,"mirror_url":null,"open_issues_count":49,"forks":67,"open_issues":49,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/windup/windup/pulls/769"},"html":{"href":"https://github.com/windup/windup/pull/769"},"issue":{"href":"https://api.github.com/repos/windup/windup/issues/769"},"comments":{"href":"https://api.github.com/repos/windup/windup/issues/769/comments"},"review_comments":{"href":"https://api.github.com/repos/windup/windup/pulls/769/comments"},"review_comment":{"href":"https://api.github.com/repos/windup/windup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/windup/windup/pulls/769/commits"},"statuses":{"href":"https://api.github.com/repos/windup/windup/statuses/dcfe40a15d9b60ff2daa8b7de997aaeed6e83373"}}}}