{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/comments/89554252","pull_request_review_id":10099997,"id":89554252,"diff_hunk":"@@ -1,32 +1,33 @@\n ﻿using System;\r\n+using System.Collections.Concurrent;\r\n using System.Collections.Generic;\r\n-using System.Globalization;\n+using System.Globalization;\r\n using System.Linq;\r\n+using System.Reflection;\r\n using System.Runtime.Serialization;\r\n using System.Text;\r\n-#if DOTNETCORE\r\n-using System.Reflection;\r\n-#endif\r\n \r\n namespace Elasticsearch.Net\r\n {\r\n \tinternal static class Extensions\r\n \t{\r\n+\t\tprivate static readonly ConcurrentDictionary<Type, Dictionary<FieldInfo, string>> EnumStringValues =\r","path":"src/Elasticsearch.Net/Extensions/Extensions.cs","position":18,"original_position":18,"commit_id":"656c4577828da5584ebeb44667bd7e99075a7a51","original_commit_id":"656c4577828da5584ebeb44667bd7e99075a7a51","user":{"login":"russcam","id":208231,"avatar_url":"https://avatars.githubusercontent.com/u/208231?v=3","gravatar_id":"","url":"https://api.github.com/users/russcam","html_url":"https://github.com/russcam","followers_url":"https://api.github.com/users/russcam/followers","following_url":"https://api.github.com/users/russcam/following{/other_user}","gists_url":"https://api.github.com/users/russcam/gists{/gist_id}","starred_url":"https://api.github.com/users/russcam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russcam/subscriptions","organizations_url":"https://api.github.com/users/russcam/orgs","repos_url":"https://api.github.com/users/russcam/repos","events_url":"https://api.github.com/users/russcam/events{/privacy}","received_events_url":"https://api.github.com/users/russcam/received_events","type":"User","site_admin":false},"body":"I'll pull them out and put them in a separate commit 👍 ","created_at":"2016-11-25T00:44:44Z","updated_at":"2016-11-25T00:44:44Z","html_url":"https://github.com/elastic/elasticsearch-net/pull/2404#discussion_r89554252","pull_request_url":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/2404","_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/comments/89554252"},"html":{"href":"https://github.com/elastic/elasticsearch-net/pull/2404#discussion_r89554252"},"pull_request":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/2404"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/2404","id":94694917,"html_url":"https://github.com/elastic/elasticsearch-net/pull/2404","diff_url":"https://github.com/elastic/elasticsearch-net/pull/2404.diff","patch_url":"https://github.com/elastic/elasticsearch-net/pull/2404.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/2404","number":2404,"state":"open","locked":false,"title":"Enable DisableDirectStreaming on a per request basis","user":{"login":"russcam","id":208231,"avatar_url":"https://avatars.githubusercontent.com/u/208231?v=3","gravatar_id":"","url":"https://api.github.com/users/russcam","html_url":"https://github.com/russcam","followers_url":"https://api.github.com/users/russcam/followers","following_url":"https://api.github.com/users/russcam/following{/other_user}","gists_url":"https://api.github.com/users/russcam/gists{/gist_id}","starred_url":"https://api.github.com/users/russcam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russcam/subscriptions","organizations_url":"https://api.github.com/users/russcam/orgs","repos_url":"https://api.github.com/users/russcam/repos","events_url":"https://api.github.com/users/russcam/events{/privacy}","received_events_url":"https://api.github.com/users/russcam/received_events","type":"User","site_admin":false},"body":"Closes #2166","created_at":"2016-11-21T20:56:35Z","updated_at":"2016-11-25T00:44:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34b636be948d116ca5c035701e8acf51d791b9ec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/2404/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/2404/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/2404/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-net/statuses/656c4577828da5584ebeb44667bd7e99075a7a51","head":{"label":"elastic:fix/5.x-per-request-direct-streaming","ref":"fix/5.x-per-request-direct-streaming","sha":"656c4577828da5584ebeb44667bd7e99075a7a51","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":942613,"name":"elasticsearch-net","full_name":"elastic/elasticsearch-net","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch-net","description":"Elasticsearch.Net & NEST","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch-net","forks_url":"https://api.github.com/repos/elastic/elasticsearch-net/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch-net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch-net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch-net/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch-net/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch-net/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch-net/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch-net/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch-net/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-net/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch-net/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch-net/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch-net/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch-net/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch-net/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch-net/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-net/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch-net/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch-net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch-net/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch-net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch-net/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch-net/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch-net/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch-net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch-net/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch-net/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch-net/deployments","created_at":"2010-09-27T13:55:00Z","updated_at":"2016-11-24T23:32:18Z","pushed_at":"2016-11-24T07:45:32Z","git_url":"git://github.com/elastic/elasticsearch-net.git","ssh_url":"git@github.com:elastic/elasticsearch-net.git","clone_url":"https://github.com/elastic/elasticsearch-net.git","svn_url":"https://github.com/elastic/elasticsearch-net","homepage":"","size":127680,"stargazers_count":1217,"watchers_count":1217,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":592,"mirror_url":null,"open_issues_count":35,"forks":592,"open_issues":35,"watchers":1217,"default_branch":"master"}},"base":{"label":"elastic:5.x","ref":"5.x","sha":"7f5988b0c8e66a3de6492fa7880ae9e9a8f8207f","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":942613,"name":"elasticsearch-net","full_name":"elastic/elasticsearch-net","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch-net","description":"Elasticsearch.Net & NEST","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch-net","forks_url":"https://api.github.com/repos/elastic/elasticsearch-net/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch-net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch-net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch-net/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch-net/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch-net/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch-net/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch-net/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch-net/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-net/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch-net/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch-net/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch-net/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch-net/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch-net/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch-net/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch-net/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-net/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch-net/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch-net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch-net/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch-net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch-net/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch-net/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch-net/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch-net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch-net/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch-net/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch-net/deployments","created_at":"2010-09-27T13:55:00Z","updated_at":"2016-11-24T23:32:18Z","pushed_at":"2016-11-24T07:45:32Z","git_url":"git://github.com/elastic/elasticsearch-net.git","ssh_url":"git@github.com:elastic/elasticsearch-net.git","clone_url":"https://github.com/elastic/elasticsearch-net.git","svn_url":"https://github.com/elastic/elasticsearch-net","homepage":"","size":127680,"stargazers_count":1217,"watchers_count":1217,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":592,"mirror_url":null,"open_issues_count":35,"forks":592,"open_issues":35,"watchers":1217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/2404"},"html":{"href":"https://github.com/elastic/elasticsearch-net/pull/2404"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/issues/2404"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/issues/2404/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/2404/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/pulls/2404/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch-net/statuses/656c4577828da5584ebeb44667bd7e99075a7a51"}}}}
{"actor":{"display_login":"russcam"}}