{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/508","repository_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py","labels_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/508/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-dsl-py/issues/508/events","html_url":"https://github.com/elastic/elasticsearch-dsl-py/issues/508","id":188688723,"number":508,"title":"Query boosting gives error","user":{"login":"Tjorriemorrie","id":1099093,"avatar_url":"https://avatars.githubusercontent.com/u/1099093?v=3","gravatar_id":"","url":"https://api.github.com/users/Tjorriemorrie","html_url":"https://github.com/Tjorriemorrie","followers_url":"https://api.github.com/users/Tjorriemorrie/followers","following_url":"https://api.github.com/users/Tjorriemorrie/following{/other_user}","gists_url":"https://api.github.com/users/Tjorriemorrie/gists{/gist_id}","starred_url":"https://api.github.com/users/Tjorriemorrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tjorriemorrie/subscriptions","organizations_url":"https://api.github.com/users/Tjorriemorrie/orgs","repos_url":"https://api.github.com/users/Tjorriemorrie/repos","events_url":"https://api.github.com/users/Tjorriemorrie/events{/privacy}","received_events_url":"https://api.github.com/users/Tjorriemorrie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-11T05:37:09Z","updated_at":"2016-11-11T05:37:09Z","closed_at":null,"body":"error:\r\n`2016-11-10 20:12:05,132 - DEBUG   - [base.py:log_request_fail] < {\"error\":{\"root_cause\":[{\"type\":\"query_parsing_exception\",\"reason\":\"[match] query parsed in simplified form, with direct field name, but included more options than just the field name, possibly use its 'options' form, with 'query' element?\",\"index\":\"handhq\",\"line\":1,\"col\":77}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"handhq\",\"node\":\"DkR6caf2SIKIsISg6cMxEQ\",\"reason\":{\"type\":\"query_parsing_exception\",\"reason\":\"[match] query parsed in simplified form, with direct field name, but included more options than just the field name, possibly use its 'options' form, with 'query' element?\",\"index\":\"handhq\",\"line\":1,\"col\":77}}]},\"status\":400}`\r\n\r\nQuery:\r\n```\r\n                sea = sea.query('bool', should=[Q('match', player=p['name'], boost=10)])\r\n                sea = sea.query('bool', should=[Q('match', vs=vs, boost=5)])\r\n                sea = sea.query('bool', should=[Q('match', phase=phase, boost=2)])\r\n                sea = sea.query('bool', should=[Q('match', site='handhq', boost=1)])\r\n                sea = sea.query('bool', must=[\r\n                    ~Q('match', action='gg') &\r\n                    ~Q('match', action='sb') &\r\n                    ~Q('match', action='bb')])\r\n```\r\n\r\nWhat I'm looking for is [query-time boosting](https://www.elastic.co/guide/en/elasticsearch/guide/current/query-time-boosting.html) but you don't have anything in your docs about it. Love your work nonetheless."}}
{"actor":{"display_login":"Tjorriemorrie"}}