{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/15857","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/15857/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/15857/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/15857/events","html_url":"https://github.com/elastic/kibana/pull/15857","id":286138151,"number":15857,"title":"Update Kuery Syntax","user":{"login":"lukasolson","id":1178348,"avatar_url":"https://avatars3.githubusercontent.com/u/1178348?v=4","gravatar_id":"","url":"https://api.github.com/users/lukasolson","html_url":"https://github.com/lukasolson","followers_url":"https://api.github.com/users/lukasolson/followers","following_url":"https://api.github.com/users/lukasolson/following{/other_user}","gists_url":"https://api.github.com/users/lukasolson/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasolson/subscriptions","organizations_url":"https://api.github.com/users/lukasolson/orgs","repos_url":"https://api.github.com/users/lukasolson/repos","events_url":"https://api.github.com/users/lukasolson/events{/privacy}","received_events_url":"https://api.github.com/users/lukasolson/received_events","type":"User","site_admin":false},"labels":[{"id":462135575,"url":"https://api.github.com/repos/elastic/kibana/labels/:Discovery","name":":Discovery","color":"fef2c0","default":false},{"id":473043528,"url":"https://api.github.com/repos/elastic/kibana/labels/:Filters","name":":Filters","color":"009800","default":false},{"id":478075189,"url":"https://api.github.com/repos/elastic/kibana/labels/:Query%20Bar","name":":Query Bar","color":"009800","default":false},{"id":135307740,"url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"0052cc","default":false},{"id":810298373,"url":"https://api.github.com/repos/elastic/kibana/labels/v6.3.0","name":"v6.3.0","color":"ffffff","default":false},{"id":654061976,"url":"https://api.github.com/repos/elastic/kibana/labels/v7.0.0","name":"v7.0.0","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":{"login":"lukasolson","id":1178348,"avatar_url":"https://avatars3.githubusercontent.com/u/1178348?v=4","gravatar_id":"","url":"https://api.github.com/users/lukasolson","html_url":"https://github.com/lukasolson","followers_url":"https://api.github.com/users/lukasolson/followers","following_url":"https://api.github.com/users/lukasolson/following{/other_user}","gists_url":"https://api.github.com/users/lukasolson/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasolson/subscriptions","organizations_url":"https://api.github.com/users/lukasolson/orgs","repos_url":"https://api.github.com/users/lukasolson/repos","events_url":"https://api.github.com/users/lukasolson/events{/privacy}","received_events_url":"https://api.github.com/users/lukasolson/received_events","type":"User","site_admin":false},"assignees":[{"login":"lukasolson","id":1178348,"avatar_url":"https://avatars3.githubusercontent.com/u/1178348?v=4","gravatar_id":"","url":"https://api.github.com/users/lukasolson","html_url":"https://github.com/lukasolson","followers_url":"https://api.github.com/users/lukasolson/followers","following_url":"https://api.github.com/users/lukasolson/following{/other_user}","gists_url":"https://api.github.com/users/lukasolson/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasolson/subscriptions","organizations_url":"https://api.github.com/users/lukasolson/orgs","repos_url":"https://api.github.com/users/lukasolson/repos","events_url":"https://api.github.com/users/lukasolson/events{/privacy}","received_events_url":"https://api.github.com/users/lukasolson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":23,"created_at":"2018-01-04T22:52:30Z","updated_at":"2018-03-04T23:57:57Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/15857","html_url":"https://github.com/elastic/kibana/pull/15857","diff_url":"https://github.com/elastic/kibana/pull/15857.diff","patch_url":"https://github.com/elastic/kibana/pull/15857.patch"},"body":"Closes #15727.\r\nRelies on #15646.\r\n\r\nThis PR evolves Kuery into a simplified, more lucene-like language. In a follow up PR we plan on getting rid of the language switcher dropdown and instead add a checkbox that will allow users to opt-in to this syntax, which will feel less like a separate language and more like a set of enhancements to the existing lucene query syntax. \r\n\r\nThis PR also updates the simple grammar we extracted in #15646 to solve the following:\r\n\r\n- [x] Wildcards in field names\r\n- [x] \"is one of\" shorthand (e.g. `foo:(bar OR baz OR qux)`)\r\n- [x] Don't split on whitespace (require explicit AND/ORs, case insensitive)\r\n- [x] \"exists\" query (e.g. `foo:*`)\r\n- [x] Improved range query shorthands (e.g. `foo <= 1`)\r\n- [x] Wildcard queries\r\n\r\nSince this new syntax is simpler and does not support every filter type like old Kuery did, this PR also brings back the filter bar when kuery is selected in the language picker.\r\n\r\nSee the documentation updates in this PR if you need an overview of the new syntax (and let us know if the documentation is lacking)."},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/370276597","html_url":"https://github.com/elastic/kibana/pull/15857#issuecomment-370276597","issue_url":"https://api.github.com/repos/elastic/kibana/issues/15857","id":370276597,"user":{"login":"elasticmachine","id":15837671,"avatar_url":"https://avatars3.githubusercontent.com/u/15837671?v=4","gravatar_id":"","url":"https://api.github.com/users/elasticmachine","html_url":"https://github.com/elasticmachine","followers_url":"https://api.github.com/users/elasticmachine/followers","following_url":"https://api.github.com/users/elasticmachine/following{/other_user}","gists_url":"https://api.github.com/users/elasticmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticmachine/subscriptions","organizations_url":"https://api.github.com/users/elasticmachine/orgs","repos_url":"https://api.github.com/users/elasticmachine/repos","events_url":"https://api.github.com/users/elasticmachine/events{/privacy}","received_events_url":"https://api.github.com/users/elasticmachine/received_events","type":"User","site_admin":false},"created_at":"2018-03-04T23:57:57Z","updated_at":"2018-03-04T23:57:57Z","author_association":"NONE","body":"## :green_heart: Build Succeeded\n* [continuous-integration/kibana-ci/pull-request](https://kibana-ci.elastic.co/job/elastic-kibana-pull-request/290/)\n\n"}}
{"actor":{"display_login":"elasticmachine"}}