{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls/1","id":30987002,"html_url":"https://github.com/clarkbremer/cequel_inverted_index/pull/1","diff_url":"https://github.com/clarkbremer/cequel_inverted_index/pull/1.diff","patch_url":"https://github.com/clarkbremer/cequel_inverted_index/pull/1.patch","issue_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues/1","number":1,"state":"closed","locked":false,"title":"Implement inverted index rails generator packaged as a gem","user":{"login":"clarkbremer","id":3091808,"avatar_url":"https://avatars.githubusercontent.com/u/3091808?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkbremer","html_url":"https://github.com/clarkbremer","followers_url":"https://api.github.com/users/clarkbremer/followers","following_url":"https://api.github.com/users/clarkbremer/following{/other_user}","gists_url":"https://api.github.com/users/clarkbremer/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkbremer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkbremer/subscriptions","organizations_url":"https://api.github.com/users/clarkbremer/orgs","repos_url":"https://api.github.com/users/clarkbremer/repos","events_url":"https://api.github.com/users/clarkbremer/events{/privacy}","received_events_url":"https://api.github.com/users/clarkbremer/received_events","type":"User","site_admin":false},"body":"You can try this out by putting this into the gemfile on an existing cequel-based project:\r\n\r\n`gem 'cequel_inverted_index', :git => 'https://github.com/clarkbremer/cequel_inverted_index.git', :branch => 'generator'`\r\n\r\nAnd `bundle install`.\r\n\r\nThen choose a column on your model that is not indexed, and try this:\r\n\r\n`rails generate cequel_inverted_index MODEL COLUMN`\r\n\r\nIt should do everything you need for an inverted index.  I do not automatically execute the migration, so you need to do that after.  \r\n","created_at":"2015-03-11T21:27:41Z","updated_at":"2015-03-13T15:16:25Z","closed_at":"2015-03-13T15:16:25Z","merged_at":"2015-03-13T15:16:25Z","merge_commit_sha":"6c4e758c47adbe6b07879c0c5212287176ae12bc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls/1/commits","review_comments_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls/1/comments","review_comment_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues/1/comments","statuses_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/statuses/bbfb26516295ab8329ba7f16645fb5025da193f8","head":{"label":"clarkbremer:generator","ref":"generator","sha":"bbfb26516295ab8329ba7f16645fb5025da193f8","user":{"login":"clarkbremer","id":3091808,"avatar_url":"https://avatars.githubusercontent.com/u/3091808?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkbremer","html_url":"https://github.com/clarkbremer","followers_url":"https://api.github.com/users/clarkbremer/followers","following_url":"https://api.github.com/users/clarkbremer/following{/other_user}","gists_url":"https://api.github.com/users/clarkbremer/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkbremer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkbremer/subscriptions","organizations_url":"https://api.github.com/users/clarkbremer/orgs","repos_url":"https://api.github.com/users/clarkbremer/repos","events_url":"https://api.github.com/users/clarkbremer/events{/privacy}","received_events_url":"https://api.github.com/users/clarkbremer/received_events","type":"User","site_admin":false},"repo":{"id":32024701,"name":"cequel_inverted_index","full_name":"clarkbremer/cequel_inverted_index","owner":{"login":"clarkbremer","id":3091808,"avatar_url":"https://avatars.githubusercontent.com/u/3091808?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkbremer","html_url":"https://github.com/clarkbremer","followers_url":"https://api.github.com/users/clarkbremer/followers","following_url":"https://api.github.com/users/clarkbremer/following{/other_user}","gists_url":"https://api.github.com/users/clarkbremer/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkbremer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkbremer/subscriptions","organizations_url":"https://api.github.com/users/clarkbremer/orgs","repos_url":"https://api.github.com/users/clarkbremer/repos","events_url":"https://api.github.com/users/clarkbremer/events{/privacy}","received_events_url":"https://api.github.com/users/clarkbremer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clarkbremer/cequel_inverted_index","description":null,"fork":false,"url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index","forks_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/forks","keys_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/teams","hooks_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/hooks","issue_events_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues/events{/number}","events_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/events","assignees_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/assignees{/user}","branches_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/branches{/branch}","tags_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/tags","blobs_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/refs{/sha}","trees_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/statuses/{sha}","languages_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/languages","stargazers_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/stargazers","contributors_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/contributors","subscribers_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/subscribers","subscription_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/subscription","commits_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/commits{/sha}","git_commits_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/commits{/sha}","comments_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/comments{/number}","issue_comment_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues/comments{/number}","contents_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/contents/{+path}","compare_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/merges","archive_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/downloads","issues_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues{/number}","pulls_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls{/number}","milestones_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/milestones{/number}","notifications_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/labels{/name}","releases_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/releases{/id}","created_at":"2015-03-11T15:17:45Z","updated_at":"2015-03-11T15:17:45Z","pushed_at":"2015-03-13T15:16:25Z","git_url":"git://github.com/clarkbremer/cequel_inverted_index.git","ssh_url":"git@github.com:clarkbremer/cequel_inverted_index.git","clone_url":"https://github.com/clarkbremer/cequel_inverted_index.git","svn_url":"https://github.com/clarkbremer/cequel_inverted_index","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"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":"clarkbremer:master","ref":"master","sha":"b1c6e41582c0de1f7da9d106455e05e3d7a176df","user":{"login":"clarkbremer","id":3091808,"avatar_url":"https://avatars.githubusercontent.com/u/3091808?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkbremer","html_url":"https://github.com/clarkbremer","followers_url":"https://api.github.com/users/clarkbremer/followers","following_url":"https://api.github.com/users/clarkbremer/following{/other_user}","gists_url":"https://api.github.com/users/clarkbremer/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkbremer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkbremer/subscriptions","organizations_url":"https://api.github.com/users/clarkbremer/orgs","repos_url":"https://api.github.com/users/clarkbremer/repos","events_url":"https://api.github.com/users/clarkbremer/events{/privacy}","received_events_url":"https://api.github.com/users/clarkbremer/received_events","type":"User","site_admin":false},"repo":{"id":32024701,"name":"cequel_inverted_index","full_name":"clarkbremer/cequel_inverted_index","owner":{"login":"clarkbremer","id":3091808,"avatar_url":"https://avatars.githubusercontent.com/u/3091808?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkbremer","html_url":"https://github.com/clarkbremer","followers_url":"https://api.github.com/users/clarkbremer/followers","following_url":"https://api.github.com/users/clarkbremer/following{/other_user}","gists_url":"https://api.github.com/users/clarkbremer/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkbremer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkbremer/subscriptions","organizations_url":"https://api.github.com/users/clarkbremer/orgs","repos_url":"https://api.github.com/users/clarkbremer/repos","events_url":"https://api.github.com/users/clarkbremer/events{/privacy}","received_events_url":"https://api.github.com/users/clarkbremer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clarkbremer/cequel_inverted_index","description":null,"fork":false,"url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index","forks_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/forks","keys_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/teams","hooks_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/hooks","issue_events_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues/events{/number}","events_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/events","assignees_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/assignees{/user}","branches_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/branches{/branch}","tags_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/tags","blobs_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/refs{/sha}","trees_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/statuses/{sha}","languages_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/languages","stargazers_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/stargazers","contributors_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/contributors","subscribers_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/subscribers","subscription_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/subscription","commits_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/commits{/sha}","git_commits_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/git/commits{/sha}","comments_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/comments{/number}","issue_comment_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues/comments{/number}","contents_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/contents/{+path}","compare_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/merges","archive_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/downloads","issues_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues{/number}","pulls_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls{/number}","milestones_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/milestones{/number}","notifications_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/labels{/name}","releases_url":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/releases{/id}","created_at":"2015-03-11T15:17:45Z","updated_at":"2015-03-11T15:17:45Z","pushed_at":"2015-03-13T15:16:25Z","git_url":"git://github.com/clarkbremer/cequel_inverted_index.git","ssh_url":"git@github.com:clarkbremer/cequel_inverted_index.git","clone_url":"https://github.com/clarkbremer/cequel_inverted_index.git","svn_url":"https://github.com/clarkbremer/cequel_inverted_index","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls/1"},"html":{"href":"https://github.com/clarkbremer/cequel_inverted_index/pull/1"},"issue":{"href":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues/1"},"comments":{"href":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/clarkbremer/cequel_inverted_index/statuses/bbfb26516295ab8329ba7f16645fb5025da193f8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"clarkbremer","id":3091808,"avatar_url":"https://avatars.githubusercontent.com/u/3091808?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkbremer","html_url":"https://github.com/clarkbremer","followers_url":"https://api.github.com/users/clarkbremer/followers","following_url":"https://api.github.com/users/clarkbremer/following{/other_user}","gists_url":"https://api.github.com/users/clarkbremer/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkbremer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkbremer/subscriptions","organizations_url":"https://api.github.com/users/clarkbremer/orgs","repos_url":"https://api.github.com/users/clarkbremer/repos","events_url":"https://api.github.com/users/clarkbremer/events{/privacy}","received_events_url":"https://api.github.com/users/clarkbremer/received_events","type":"User","site_admin":false},"comments":3,"review_comments":8,"commits":1,"additions":333,"deletions":0,"changed_files":10}}