{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/29374","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/29374/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/29374/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/29374/events","html_url":"https://github.com/elastic/elasticsearch/issues/29374","id":311318621,"node_id":"MDU6SXNzdWUzMTEzMTg2MjE=","number":29374,"title":"Java HighLevelRestClient search bug","user":{"login":"danfisk","id":24226674,"node_id":"MDQ6VXNlcjI0MjI2Njc0","avatar_url":"https://avatars3.githubusercontent.com/u/24226674?v=4","gravatar_id":"","url":"https://api.github.com/users/danfisk","html_url":"https://github.com/danfisk","followers_url":"https://api.github.com/users/danfisk/followers","following_url":"https://api.github.com/users/danfisk/following{/other_user}","gists_url":"https://api.github.com/users/danfisk/gists{/gist_id}","starred_url":"https://api.github.com/users/danfisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfisk/subscriptions","organizations_url":"https://api.github.com/users/danfisk/orgs","repos_url":"https://api.github.com/users/danfisk/repos","events_url":"https://api.github.com/users/danfisk/events{/privacy}","received_events_url":"https://api.github.com/users/danfisk/received_events","type":"User","site_admin":false},"labels":[{"id":493198109,"node_id":"MDU6TGFiZWw0OTMxOTgxMDk=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Core/Java%20High%20Level%20REST%20Client","name":":Core/Java High Level REST Client","color":"0e8a16","default":false},{"id":23173,"node_id":"MDU6TGFiZWwyMzE3Mw==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Ebug","name":">bug","color":"b60205","default":false},{"id":110815527,"node_id":"MDU6TGFiZWwxMTA4MTU1Mjc=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/adoptme","name":"adoptme","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-04T17:18:13Z","updated_at":"2018-09-14T13:20:39Z","closed_at":null,"author_association":"NONE","body":"<!-- Bug report -->\r\n\r\n**Elasticsearch version** (`bin/elasticsearch --version`):\r\nInitial bug was found in:\r\nclient:\r\n'org.elasticsearch.client:elasticsearch-rest-high-level-client:6.2.2'\r\n'org.elasticsearch.client:elasticsearch-rest-client:6.2.2'\r\nwith server at 6.0.0 \r\n**OS version** (`uname -a` if on a Unix-like system): MacOS 10.13.3\r\n**JVM version** (`java -version`): JVM 1.8.0_161-b12\r\nI have also verified that the bug still exists in:\r\nclient:\r\n'org.elasticsearch.client:elasticsearch-rest-high-level-client:6.2.3'\r\n'org.elasticsearch.client:elasticsearch-rest-client:6.2.3'\r\nwith server at 6.2.3\r\nVersion: 6.2.3, Build: c59ff00/2018-03-13T10:06:29.741383Z, JVM: 1.8.0_05\r\n**Plugins installed**: []\r\n \r\n**Description of the problem including expected versus actual behavior**:\r\nThe Java \"searchSourceBuilder.query(QueryBuilders.queryStringQuery(searchString)\r\n                                            .lenient(Boolean.TRUE));\"\r\nis adding the \"autoGenerateSynonymsPhraseQuery\" parameter when not specified, then the following execution results in an error..\r\n [type=parsing_exception, reason=[query_string] query does not support [auto_generate_synonyms_phrase_query]]]\r\n\r\n\r\nPlease refer to the following discussion thread for further explanation:\r\nhttps://discuss.elastic.co/t/java-highlevelrestclient-search-problem/126264\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/421356151","html_url":"https://github.com/elastic/elasticsearch/issues/29374#issuecomment-421356151","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/29374","id":421356151,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTM1NjE1MQ==","user":{"login":"cbismuth","id":21545602,"node_id":"MDQ6VXNlcjIxNTQ1NjAy","avatar_url":"https://avatars1.githubusercontent.com/u/21545602?v=4","gravatar_id":"","url":"https://api.github.com/users/cbismuth","html_url":"https://github.com/cbismuth","followers_url":"https://api.github.com/users/cbismuth/followers","following_url":"https://api.github.com/users/cbismuth/following{/other_user}","gists_url":"https://api.github.com/users/cbismuth/gists{/gist_id}","starred_url":"https://api.github.com/users/cbismuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbismuth/subscriptions","organizations_url":"https://api.github.com/users/cbismuth/orgs","repos_url":"https://api.github.com/users/cbismuth/repos","events_url":"https://api.github.com/users/cbismuth/events{/privacy}","received_events_url":"https://api.github.com/users/cbismuth/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T13:20:39Z","updated_at":"2018-09-14T13:20:39Z","author_association":"NONE","body":"I've created search integration test in the RHLC module, but I can't reproduce this bug."}}
{"actor":{"display_login":"cbismuth"}}