payload: {"action":"created","issue":{"url":"https://api.github.com/repos/terascope/teraslice/issues/1332","repository_url":"https://api.github.com/repos/terascope/teraslice","labels_url":"https://api.github.com/repos/terascope/teraslice/issues/1332/labels{/name}","comments_url":"https://api.github.com/repos/terascope/teraslice/issues/1332/comments","events_url":"https://api.github.com/repos/terascope/teraslice/issues/1332/events","html_url":"https://github.com/terascope/teraslice/pull/1332","id":480350845,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA3MDY0MzQz","number":1332,"title":"Query Point Updates","user":{"login":"jsnoble","id":4296280,"node_id":"MDQ6VXNlcjQyOTYyODA=","avatar_url":"https://avatars0.githubusercontent.com/u/4296280?v=4","gravatar_id":"","url":"https://api.github.com/users/jsnoble","html_url":"https://github.com/jsnoble","followers_url":"https://api.github.com/users/jsnoble/followers","following_url":"https://api.github.com/users/jsnoble/following{/other_user}","gists_url":"https://api.github.com/users/jsnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/jsnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsnoble/subscriptions","organizations_url":"https://api.github.com/users/jsnoble/orgs","repos_url":"https://api.github.com/users/jsnoble/repos","events_url":"https://api.github.com/users/jsnoble/events{/privacy}","received_events_url":"https://api.github.com/users/jsnoble/received_events","type":"User","site_admin":false},"labels":[{"id":1212903335,"node_id":"MDU6TGFiZWwxMjEyOTAzMzM1","url":"https://api.github.com/repos/terascope/teraslice/labels/pkg/data-access","name":"pkg/data-access","color":"dbdb4a","default":false},{"id":1234937884,"node_id":"MDU6TGFiZWwxMjM0OTM3ODg0","url":"https://api.github.com/repos/terascope/teraslice/labels/pkg/data-access-plugin","name":"pkg/data-access-plugin","color":"a6d332","default":false}],"state":"open","locked":false,"assignee":{"login":"jsnoble","id":4296280,"node_id":"MDQ6VXNlcjQyOTYyODA=","avatar_url":"https://avatars0.githubusercontent.com/u/4296280?v=4","gravatar_id":"","url":"https://api.github.com/users/jsnoble","html_url":"https://github.com/jsnoble","followers_url":"https://api.github.com/users/jsnoble/followers","following_url":"https://api.github.com/users/jsnoble/following{/other_user}","gists_url":"https://api.github.com/users/jsnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/jsnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsnoble/subscriptions","organizations_url":"https://api.github.com/users/jsnoble/orgs","repos_url":"https://api.github.com/users/jsnoble/repos","events_url":"https://api.github.com/users/jsnoble/events{/privacy}","received_events_url":"https://api.github.com/users/jsnoble/received_events","type":"User","site_admin":false},"assignees":[{"login":"jsnoble","id":4296280,"node_id":"MDQ6VXNlcjQyOTYyODA=","avatar_url":"https://avatars0.githubusercontent.com/u/4296280?v=4","gravatar_id":"","url":"https://api.github.com/users/jsnoble","html_url":"https://github.com/jsnoble","followers_url":"https://api.github.com/users/jsnoble/followers","following_url":"https://api.github.com/users/jsnoble/following{/other_user}","gists_url":"https://api.github.com/users/jsnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/jsnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsnoble/subscriptions","organizations_url":"https://api.github.com/users/jsnoble/orgs","repos_url":"https://api.github.com/users/jsnoble/repos","events_url":"https://api.github.com/users/jsnoble/events{/privacy}","received_events_url":"https://api.github.com/users/jsnoble/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2019-08-13T20:23:50Z","updated_at":"2019-08-30T00:18:01Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/terascope/teraslice/pulls/1332","html_url":"https://github.com/terascope/teraslice/pull/1332","diff_url":"https://github.com/terascope/teraslice/pull/1332.diff","patch_url":"https://github.com/terascope/teraslice/pull/1332.patch"},"body":"I am posting this here until further feedback on complexity, the default should limit to 1,000,000.\r\n\r\n```\r\ndata_access: {\r\n                namespace: `some_name_space`,\r\n                complexity_limit: {number here},\r\n            },\r\n```\r\nThe complexity is calculated by the size multiplied by the size of each subsequent join\r\n\r\n```\r\nquery myQuery{\r\n  test_space1(query: \"*\", size: 10) {\r\n    bytes,\r\n    test_space2(join:[\"bytes\"]) {\r\n      bool,\r\n      bytes\r\n      ip,\r\n      test_space3(join: [\"bytes\"], size: 100) {\r\n        wasFound\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\nIf size is not set, it default to elasticsearch size which is 10;\r\nThis query should have a complexity score of 10,000  (10 * 10 * 100). \r\n"},"comment":{"url":"https://api.github.com/repos/terascope/teraslice/issues/comments/526406887","html_url":"https://github.com/terascope/teraslice/pull/1332#issuecomment-526406887","issue_url":"https://api.github.com/repos/terascope/teraslice/issues/1332","id":526406887,"node_id":"MDEyOklzc3VlQ29tbWVudDUyNjQwNjg4Nw==","user":{"login":"kstaken","id":283724,"node_id":"MDQ6VXNlcjI4MzcyNA==","avatar_url":"https://avatars0.githubusercontent.com/u/283724?v=4","gravatar_id":"","url":"https://api.github.com/users/kstaken","html_url":"https://github.com/kstaken","followers_url":"https://api.github.com/users/kstaken/followers","following_url":"https://api.github.com/users/kstaken/following{/other_user}","gists_url":"https://api.github.com/users/kstaken/gists{/gist_id}","starred_url":"https://api.github.com/users/kstaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kstaken/subscriptions","organizations_url":"https://api.github.com/users/kstaken/orgs","repos_url":"https://api.github.com/users/kstaken/repos","events_url":"https://api.github.com/users/kstaken/events{/privacy}","received_events_url":"https://api.github.com/users/kstaken/received_events","type":"User","site_admin":false},"created_at":"2019-08-30T00:18:01Z","updated_at":"2019-08-30T00:18:01Z","author_association":"MEMBER","body":"Playground just gives an error. \r\n\r\n```\r\n{\r\n  \"error\": \"Not allowed to request resource\"\r\n}\r\n```"}}
other: {"actor":{"display_login":"kstaken"}}