{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/zamboni/pulls/comments/29628753","id":29628753,"diff_hunk":"@@ -352,7 +358,7 @@ def attach_language_specific_analyzers(cls, mapping, field_names):\n         \"\"\"\n         def _locale_field_mapping(field, analyzer):\n             return {\n-                '%s_%s' % (field, analyzer): {\n+                '%s_l_%s' % (field, analyzer): {","path":"mkt/search/indexers.py","position":31,"original_position":31,"commit_id":"14c0efe8b4fb80c590b827777c4e8cbcf6c9b007","original_commit_id":"14c0efe8b4fb80c590b827777c4e8cbcf6c9b007","user":{"login":"robhudson","id":1106,"avatar_url":"https://avatars.githubusercontent.com/u/1106?v=3","gravatar_id":"","url":"https://api.github.com/users/robhudson","html_url":"https://github.com/robhudson","followers_url":"https://api.github.com/users/robhudson/followers","following_url":"https://api.github.com/users/robhudson/following{/other_user}","gists_url":"https://api.github.com/users/robhudson/gists{/gist_id}","starred_url":"https://api.github.com/users/robhudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robhudson/subscriptions","organizations_url":"https://api.github.com/users/robhudson/orgs","repos_url":"https://api.github.com/users/robhudson/repos","events_url":"https://api.github.com/users/robhudson/events{/privacy}","received_events_url":"https://api.github.com/users/robhudson/received_events","type":"User","site_admin":false},"body":"Yeah, I think `_l10n_` would help make it clear what these are for.","created_at":"2015-05-04T22:06:20Z","updated_at":"2015-05-04T22:06:20Z","html_url":"https://github.com/mozilla/zamboni/pull/3075#discussion_r29628753","pull_request_url":"https://api.github.com/repos/mozilla/zamboni/pulls/3075","_links":{"self":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/comments/29628753"},"html":{"href":"https://github.com/mozilla/zamboni/pull/3075#discussion_r29628753"},"pull_request":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/3075"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/zamboni/pulls/3075","id":34643040,"html_url":"https://github.com/mozilla/zamboni/pull/3075","diff_url":"https://github.com/mozilla/zamboni/pull/3075.diff","patch_url":"https://github.com/mozilla/zamboni/pull/3075.patch","issue_url":"https://api.github.com/repos/mozilla/zamboni/issues/3075","number":3075,"state":"open","locked":false,"title":"Exclude fields we don't need when querying ES (bug 1127144)","user":{"login":"diox","id":187006,"avatar_url":"https://avatars.githubusercontent.com/u/187006?v=3","gravatar_id":"","url":"https://api.github.com/users/diox","html_url":"https://github.com/diox","followers_url":"https://api.github.com/users/diox/followers","following_url":"https://api.github.com/users/diox/following{/other_user}","gists_url":"https://api.github.com/users/diox/gists{/gist_id}","starred_url":"https://api.github.com/users/diox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diox/subscriptions","organizations_url":"https://api.github.com/users/diox/orgs","repos_url":"https://api.github.com/users/diox/repos","events_url":"https://api.github.com/users/diox/events{/privacy}","received_events_url":"https://api.github.com/users/diox/received_events","type":"User","site_admin":false},"body":"https://bugzilla.mozilla.org/show_bug.cgi?id=1127144\r\n\r\nTo keep the `hidden_fields` property manageable, I had to use wildcards and change the name of the analyzer-specific variants of the translated fields, so we'll need a reindex, but I *think* it should still be ok to use this code with an old index, worst case scenario some search results will be missing some specific results for the duration of the reindex.\r\n\r\n","created_at":"2015-05-04T14:43:51Z","updated_at":"2015-05-04T22:06:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1d635bd062603c77cf2b276fd6510588434de12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/zamboni/pulls/3075/commits","review_comments_url":"https://api.github.com/repos/mozilla/zamboni/pulls/3075/comments","review_comment_url":"https://api.github.com/repos/mozilla/zamboni/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/zamboni/issues/3075/comments","statuses_url":"https://api.github.com/repos/mozilla/zamboni/statuses/14c0efe8b4fb80c590b827777c4e8cbcf6c9b007","head":{"label":"diox:reduce-data-fetched-from-es","ref":"reduce-data-fetched-from-es","sha":"14c0efe8b4fb80c590b827777c4e8cbcf6c9b007","user":{"login":"diox","id":187006,"avatar_url":"https://avatars.githubusercontent.com/u/187006?v=3","gravatar_id":"","url":"https://api.github.com/users/diox","html_url":"https://github.com/diox","followers_url":"https://api.github.com/users/diox/followers","following_url":"https://api.github.com/users/diox/following{/other_user}","gists_url":"https://api.github.com/users/diox/gists{/gist_id}","starred_url":"https://api.github.com/users/diox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diox/subscriptions","organizations_url":"https://api.github.com/users/diox/orgs","repos_url":"https://api.github.com/users/diox/repos","events_url":"https://api.github.com/users/diox/events{/privacy}","received_events_url":"https://api.github.com/users/diox/received_events","type":"User","site_admin":false},"repo":{"id":10216041,"name":"zamboni","full_name":"diox/zamboni","owner":{"login":"diox","id":187006,"avatar_url":"https://avatars.githubusercontent.com/u/187006?v=3","gravatar_id":"","url":"https://api.github.com/users/diox","html_url":"https://github.com/diox","followers_url":"https://api.github.com/users/diox/followers","following_url":"https://api.github.com/users/diox/following{/other_user}","gists_url":"https://api.github.com/users/diox/gists{/gist_id}","starred_url":"https://api.github.com/users/diox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diox/subscriptions","organizations_url":"https://api.github.com/users/diox/orgs","repos_url":"https://api.github.com/users/diox/repos","events_url":"https://api.github.com/users/diox/events{/privacy}","received_events_url":"https://api.github.com/users/diox/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/diox/zamboni","description":"The backend of the Firefox Marketplace","fork":true,"url":"https://api.github.com/repos/diox/zamboni","forks_url":"https://api.github.com/repos/diox/zamboni/forks","keys_url":"https://api.github.com/repos/diox/zamboni/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diox/zamboni/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diox/zamboni/teams","hooks_url":"https://api.github.com/repos/diox/zamboni/hooks","issue_events_url":"https://api.github.com/repos/diox/zamboni/issues/events{/number}","events_url":"https://api.github.com/repos/diox/zamboni/events","assignees_url":"https://api.github.com/repos/diox/zamboni/assignees{/user}","branches_url":"https://api.github.com/repos/diox/zamboni/branches{/branch}","tags_url":"https://api.github.com/repos/diox/zamboni/tags","blobs_url":"https://api.github.com/repos/diox/zamboni/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diox/zamboni/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diox/zamboni/git/refs{/sha}","trees_url":"https://api.github.com/repos/diox/zamboni/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diox/zamboni/statuses/{sha}","languages_url":"https://api.github.com/repos/diox/zamboni/languages","stargazers_url":"https://api.github.com/repos/diox/zamboni/stargazers","contributors_url":"https://api.github.com/repos/diox/zamboni/contributors","subscribers_url":"https://api.github.com/repos/diox/zamboni/subscribers","subscription_url":"https://api.github.com/repos/diox/zamboni/subscription","commits_url":"https://api.github.com/repos/diox/zamboni/commits{/sha}","git_commits_url":"https://api.github.com/repos/diox/zamboni/git/commits{/sha}","comments_url":"https://api.github.com/repos/diox/zamboni/comments{/number}","issue_comment_url":"https://api.github.com/repos/diox/zamboni/issues/comments{/number}","contents_url":"https://api.github.com/repos/diox/zamboni/contents/{+path}","compare_url":"https://api.github.com/repos/diox/zamboni/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diox/zamboni/merges","archive_url":"https://api.github.com/repos/diox/zamboni/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diox/zamboni/downloads","issues_url":"https://api.github.com/repos/diox/zamboni/issues{/number}","pulls_url":"https://api.github.com/repos/diox/zamboni/pulls{/number}","milestones_url":"https://api.github.com/repos/diox/zamboni/milestones{/number}","notifications_url":"https://api.github.com/repos/diox/zamboni/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diox/zamboni/labels{/name}","releases_url":"https://api.github.com/repos/diox/zamboni/releases{/id}","created_at":"2013-05-22T09:07:50Z","updated_at":"2015-04-22T13:17:54Z","pushed_at":"2015-05-04T17:36:01Z","git_url":"git://github.com/diox/zamboni.git","ssh_url":"git@github.com:diox/zamboni.git","clone_url":"https://github.com/diox/zamboni.git","svn_url":"https://github.com/diox/zamboni","homepage":" http://zamboni.readthedocs.org","size":356495,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"bbcd186a86903037dc264a92f22eaaf63b291333","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":347655,"name":"zamboni","full_name":"mozilla/zamboni","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/zamboni","description":"Backend for the Firefox Marketplace","fork":false,"url":"https://api.github.com/repos/mozilla/zamboni","forks_url":"https://api.github.com/repos/mozilla/zamboni/forks","keys_url":"https://api.github.com/repos/mozilla/zamboni/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/zamboni/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/zamboni/teams","hooks_url":"https://api.github.com/repos/mozilla/zamboni/hooks","issue_events_url":"https://api.github.com/repos/mozilla/zamboni/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/zamboni/events","assignees_url":"https://api.github.com/repos/mozilla/zamboni/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/zamboni/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/zamboni/tags","blobs_url":"https://api.github.com/repos/mozilla/zamboni/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/zamboni/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/zamboni/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/zamboni/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/zamboni/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/zamboni/languages","stargazers_url":"https://api.github.com/repos/mozilla/zamboni/stargazers","contributors_url":"https://api.github.com/repos/mozilla/zamboni/contributors","subscribers_url":"https://api.github.com/repos/mozilla/zamboni/subscribers","subscription_url":"https://api.github.com/repos/mozilla/zamboni/subscription","commits_url":"https://api.github.com/repos/mozilla/zamboni/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/zamboni/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/zamboni/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/zamboni/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/zamboni/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/zamboni/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/zamboni/merges","archive_url":"https://api.github.com/repos/mozilla/zamboni/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/zamboni/downloads","issues_url":"https://api.github.com/repos/mozilla/zamboni/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/zamboni/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/zamboni/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/zamboni/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/zamboni/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/zamboni/releases{/id}","created_at":"2009-10-23T19:35:34Z","updated_at":"2015-05-04T19:35:52Z","pushed_at":"2015-05-04T19:35:52Z","git_url":"git://github.com/mozilla/zamboni.git","ssh_url":"git@github.com:mozilla/zamboni.git","clone_url":"https://github.com/mozilla/zamboni.git","svn_url":"https://github.com/mozilla/zamboni","homepage":"http://marketplace.readthedocs.org/en/latest/topics/backend.html","size":417927,"stargazers_count":456,"watchers_count":456,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":240,"mirror_url":null,"open_issues_count":16,"forks":240,"open_issues":16,"watchers":456,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/3075"},"html":{"href":"https://github.com/mozilla/zamboni/pull/3075"},"issue":{"href":"https://api.github.com/repos/mozilla/zamboni/issues/3075"},"comments":{"href":"https://api.github.com/repos/mozilla/zamboni/issues/3075/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/3075/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/3075/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/zamboni/statuses/14c0efe8b4fb80c590b827777c4e8cbcf6c9b007"}}}}