{"action":"created","comment":{"url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments/46956789","id":46956789,"diff_hunk":"@@ -37,9 +40,13 @@ def as_indexed_json(_options = {})\n              }\n \n     mapping do\n-      indexes :name, analyzer: 'rubygem'\n-      indexes :indexed, type: 'boolean'\n-      indexes :info, analyzer: 'english'\n+      indexes :name, type: 'multi_field' do","path":"app/models/concerns/rubygem_searchable.rb","position":28,"original_position":28,"commit_id":"9aa2c2cec63eacff31e757500e98be82179e8b0a","original_commit_id":"9aa2c2cec63eacff31e757500e98be82179e8b0a","user":{"login":"dwradcliffe","id":118850,"avatar_url":"https://avatars.githubusercontent.com/u/118850?v=3","gravatar_id":"","url":"https://api.github.com/users/dwradcliffe","html_url":"https://github.com/dwradcliffe","followers_url":"https://api.github.com/users/dwradcliffe/followers","following_url":"https://api.github.com/users/dwradcliffe/following{/other_user}","gists_url":"https://api.github.com/users/dwradcliffe/gists{/gist_id}","starred_url":"https://api.github.com/users/dwradcliffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwradcliffe/subscriptions","organizations_url":"https://api.github.com/users/dwradcliffe/orgs","repos_url":"https://api.github.com/users/dwradcliffe/repos","events_url":"https://api.github.com/users/dwradcliffe/events{/privacy}","received_events_url":"https://api.github.com/users/dwradcliffe/received_events","type":"User","site_admin":false},"body":"For some reason it didn't seem to work without `multi_field` but it's possible I did something else wrong too.","created_at":"2015-12-08T14:14:46Z","updated_at":"2015-12-08T14:14:46Z","html_url":"https://github.com/rubygems/rubygems.org/pull/1135#discussion_r46956789","pull_request_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1135","_links":{"self":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments/46956789"},"html":{"href":"https://github.com/rubygems/rubygems.org/pull/1135#discussion_r46956789"},"pull_request":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1135"}}},"pull_request":{"url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1135","id":52269319,"html_url":"https://github.com/rubygems/rubygems.org/pull/1135","diff_url":"https://github.com/rubygems/rubygems.org/pull/1135.diff","patch_url":"https://github.com/rubygems/rubygems.org/pull/1135.patch","issue_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1135","number":1135,"state":"open","locked":false,"title":"Elasticsearch improvements","user":{"login":"dwradcliffe","id":118850,"avatar_url":"https://avatars.githubusercontent.com/u/118850?v=3","gravatar_id":"","url":"https://api.github.com/users/dwradcliffe","html_url":"https://github.com/dwradcliffe","followers_url":"https://api.github.com/users/dwradcliffe/followers","following_url":"https://api.github.com/users/dwradcliffe/following{/other_user}","gists_url":"https://api.github.com/users/dwradcliffe/gists{/gist_id}","starred_url":"https://api.github.com/users/dwradcliffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwradcliffe/subscriptions","organizations_url":"https://api.github.com/users/dwradcliffe/orgs","repos_url":"https://api.github.com/users/dwradcliffe/repos","events_url":"https://api.github.com/users/dwradcliffe/events{/privacy}","received_events_url":"https://api.github.com/users/dwradcliffe/received_events","type":"User","site_admin":false},"body":"Still WIP\r\n\r\nReview please @karmi :smile: ","created_at":"2015-12-01T15:10:40Z","updated_at":"2015-12-08T14:14:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b5a2c280d5a5916df82a6ab56bbef8e879b00d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1135/commits","review_comments_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1135/comments","review_comment_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1135/comments","statuses_url":"https://api.github.com/repos/rubygems/rubygems.org/statuses/9aa2c2cec63eacff31e757500e98be82179e8b0a","head":{"label":"rubygems:es_improvements","ref":"es_improvements","sha":"9aa2c2cec63eacff31e757500e98be82179e8b0a","user":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"repo":{"id":117646,"name":"rubygems.org","full_name":"rubygems/rubygems.org","owner":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubygems/rubygems.org","description":"The Ruby community's gem hosting service.","fork":false,"url":"https://api.github.com/repos/rubygems/rubygems.org","forks_url":"https://api.github.com/repos/rubygems/rubygems.org/forks","keys_url":"https://api.github.com/repos/rubygems/rubygems.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubygems/rubygems.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubygems/rubygems.org/teams","hooks_url":"https://api.github.com/repos/rubygems/rubygems.org/hooks","issue_events_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/events{/number}","events_url":"https://api.github.com/repos/rubygems/rubygems.org/events","assignees_url":"https://api.github.com/repos/rubygems/rubygems.org/assignees{/user}","branches_url":"https://api.github.com/repos/rubygems/rubygems.org/branches{/branch}","tags_url":"https://api.github.com/repos/rubygems/rubygems.org/tags","blobs_url":"https://api.github.com/repos/rubygems/rubygems.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubygems/rubygems.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubygems/rubygems.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubygems/rubygems.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubygems/rubygems.org/statuses/{sha}","languages_url":"https://api.github.com/repos/rubygems/rubygems.org/languages","stargazers_url":"https://api.github.com/repos/rubygems/rubygems.org/stargazers","contributors_url":"https://api.github.com/repos/rubygems/rubygems.org/contributors","subscribers_url":"https://api.github.com/repos/rubygems/rubygems.org/subscribers","subscription_url":"https://api.github.com/repos/rubygems/rubygems.org/subscription","commits_url":"https://api.github.com/repos/rubygems/rubygems.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubygems/rubygems.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubygems/rubygems.org/contents/{+path}","compare_url":"https://api.github.com/repos/rubygems/rubygems.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubygems/rubygems.org/merges","archive_url":"https://api.github.com/repos/rubygems/rubygems.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubygems/rubygems.org/downloads","issues_url":"https://api.github.com/repos/rubygems/rubygems.org/issues{/number}","pulls_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls{/number}","milestones_url":"https://api.github.com/repos/rubygems/rubygems.org/milestones{/number}","notifications_url":"https://api.github.com/repos/rubygems/rubygems.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubygems/rubygems.org/labels{/name}","releases_url":"https://api.github.com/repos/rubygems/rubygems.org/releases{/id}","created_at":"2009-01-29T22:30:46Z","updated_at":"2015-12-07T20:58:27Z","pushed_at":"2015-12-08T07:23:52Z","git_url":"git://github.com/rubygems/rubygems.org.git","ssh_url":"git@github.com:rubygems/rubygems.org.git","clone_url":"https://github.com/rubygems/rubygems.org.git","svn_url":"https://github.com/rubygems/rubygems.org","homepage":"https://rubygems.org","size":634981,"stargazers_count":1274,"watchers_count":1274,"language":"HTML","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":508,"mirror_url":null,"open_issues_count":40,"forks":508,"open_issues":40,"watchers":1274,"default_branch":"master"}},"base":{"label":"rubygems:master","ref":"master","sha":"b2d311d34f2546ea9027315192a4e14860d7cd2d","user":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"repo":{"id":117646,"name":"rubygems.org","full_name":"rubygems/rubygems.org","owner":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubygems/rubygems.org","description":"The Ruby community's gem hosting service.","fork":false,"url":"https://api.github.com/repos/rubygems/rubygems.org","forks_url":"https://api.github.com/repos/rubygems/rubygems.org/forks","keys_url":"https://api.github.com/repos/rubygems/rubygems.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubygems/rubygems.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubygems/rubygems.org/teams","hooks_url":"https://api.github.com/repos/rubygems/rubygems.org/hooks","issue_events_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/events{/number}","events_url":"https://api.github.com/repos/rubygems/rubygems.org/events","assignees_url":"https://api.github.com/repos/rubygems/rubygems.org/assignees{/user}","branches_url":"https://api.github.com/repos/rubygems/rubygems.org/branches{/branch}","tags_url":"https://api.github.com/repos/rubygems/rubygems.org/tags","blobs_url":"https://api.github.com/repos/rubygems/rubygems.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubygems/rubygems.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubygems/rubygems.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubygems/rubygems.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubygems/rubygems.org/statuses/{sha}","languages_url":"https://api.github.com/repos/rubygems/rubygems.org/languages","stargazers_url":"https://api.github.com/repos/rubygems/rubygems.org/stargazers","contributors_url":"https://api.github.com/repos/rubygems/rubygems.org/contributors","subscribers_url":"https://api.github.com/repos/rubygems/rubygems.org/subscribers","subscription_url":"https://api.github.com/repos/rubygems/rubygems.org/subscription","commits_url":"https://api.github.com/repos/rubygems/rubygems.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubygems/rubygems.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubygems/rubygems.org/contents/{+path}","compare_url":"https://api.github.com/repos/rubygems/rubygems.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubygems/rubygems.org/merges","archive_url":"https://api.github.com/repos/rubygems/rubygems.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubygems/rubygems.org/downloads","issues_url":"https://api.github.com/repos/rubygems/rubygems.org/issues{/number}","pulls_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls{/number}","milestones_url":"https://api.github.com/repos/rubygems/rubygems.org/milestones{/number}","notifications_url":"https://api.github.com/repos/rubygems/rubygems.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubygems/rubygems.org/labels{/name}","releases_url":"https://api.github.com/repos/rubygems/rubygems.org/releases{/id}","created_at":"2009-01-29T22:30:46Z","updated_at":"2015-12-07T20:58:27Z","pushed_at":"2015-12-08T07:23:52Z","git_url":"git://github.com/rubygems/rubygems.org.git","ssh_url":"git@github.com:rubygems/rubygems.org.git","clone_url":"https://github.com/rubygems/rubygems.org.git","svn_url":"https://github.com/rubygems/rubygems.org","homepage":"https://rubygems.org","size":634981,"stargazers_count":1274,"watchers_count":1274,"language":"HTML","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":508,"mirror_url":null,"open_issues_count":40,"forks":508,"open_issues":40,"watchers":1274,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1135"},"html":{"href":"https://github.com/rubygems/rubygems.org/pull/1135"},"issue":{"href":"https://api.github.com/repos/rubygems/rubygems.org/issues/1135"},"comments":{"href":"https://api.github.com/repos/rubygems/rubygems.org/issues/1135/comments"},"review_comments":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1135/comments"},"review_comment":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1135/commits"},"statuses":{"href":"https://api.github.com/repos/rubygems/rubygems.org/statuses/9aa2c2cec63eacff31e757500e98be82179e8b0a"}}}}