{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/33261","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33261/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33261/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33261/events","html_url":"https://github.com/elastic/elasticsearch/pull/33261","id":355466436,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExOTg2OTk0","number":33261,"title":"Security for _field_names field should not override field statistics","user":{"login":"jimczi","id":15977469,"node_id":"MDQ6VXNlcjE1OTc3NDY5","avatar_url":"https://avatars0.githubusercontent.com/u/15977469?v=4","gravatar_id":"","url":"https://api.github.com/users/jimczi","html_url":"https://github.com/jimczi","followers_url":"https://api.github.com/users/jimczi/followers","following_url":"https://api.github.com/users/jimczi/following{/other_user}","gists_url":"https://api.github.com/users/jimczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimczi/subscriptions","organizations_url":"https://api.github.com/users/jimczi/orgs","repos_url":"https://api.github.com/users/jimczi/repos","events_url":"https://api.github.com/users/jimczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimczi/received_events","type":"User","site_admin":false},"labels":[{"id":146832564,"node_id":"MDU6TGFiZWwxNDY4MzI1NjQ=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Search/Search","name":":Search/Search","color":"0e8a16","default":false},{"id":73544,"node_id":"MDU6TGFiZWw3MzU0NA==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Enon-issue","name":">non-issue","color":"cfcfcf","default":false},{"id":929267538,"node_id":"MDU6TGFiZWw5MjkyNjc1Mzg=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/team-discuss","name":"team-discuss","color":"fbca04","default":false},{"id":484855464,"node_id":"MDU6TGFiZWw0ODQ4NTU0NjQ=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v7.0.0","name":"v7.0.0","color":"dddddd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-30T07:52:55Z","updated_at":"2018-08-31T13:36:09Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/33261","html_url":"https://github.com/elastic/elasticsearch/pull/33261","diff_url":"https://github.com/elastic/elasticsearch/pull/33261.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/33261.patch"},"body":"In Lucene 8 the statistics for a field (doc_count, sum_doc_count, ...) are\r\nchecked and invalid values (v < 0) are rejected. Though for the _field_names\r\nfield we hide the statistics of the field if security is enabled since\r\nsome terms (field names) may be filtered. However this statistics are never\r\nused, this field is not used for ranking and cannot be used to generate\r\nterm vectors. For these reasons this commit restores the original statistics\r\nfor the field in order to be compliant with Lucene 8."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/417666200","html_url":"https://github.com/elastic/elasticsearch/pull/33261#issuecomment-417666200","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33261","id":417666200,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzY2NjIwMA==","user":{"login":"jimczi","id":15977469,"node_id":"MDQ6VXNlcjE1OTc3NDY5","avatar_url":"https://avatars0.githubusercontent.com/u/15977469?v=4","gravatar_id":"","url":"https://api.github.com/users/jimczi","html_url":"https://github.com/jimczi","followers_url":"https://api.github.com/users/jimczi/followers","following_url":"https://api.github.com/users/jimczi/following{/other_user}","gists_url":"https://api.github.com/users/jimczi/gists{/gist_id}","starred_url":"https://api.github.com/users/jimczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimczi/subscriptions","organizations_url":"https://api.github.com/users/jimczi/orgs","repos_url":"https://api.github.com/users/jimczi/repos","events_url":"https://api.github.com/users/jimczi/events{/privacy}","received_events_url":"https://api.github.com/users/jimczi/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T13:36:09Z","updated_at":"2018-08-31T13:36:09Z","author_association":"MEMBER","body":"run gradle build tests"}}
{"actor":{"display_login":"jimczi"}}