{"action":"created","issue":{"url":"https://api.github.com/repos/olivere/elastic/issues/401","repository_url":"https://api.github.com/repos/olivere/elastic","labels_url":"https://api.github.com/repos/olivere/elastic/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/olivere/elastic/issues/401/comments","events_url":"https://api.github.com/repos/olivere/elastic/issues/401/events","html_url":"https://github.com/olivere/elastic/issues/401","id":191331179,"number":401,"title":"Enabling no-op with bulk updates","user":{"login":"gm42","id":16498973,"avatar_url":"https://avatars.githubusercontent.com/u/16498973?v=3","gravatar_id":"","url":"https://api.github.com/users/gm42","html_url":"https://github.com/gm42","followers_url":"https://api.github.com/users/gm42/followers","following_url":"https://api.github.com/users/gm42/following{/other_user}","gists_url":"https://api.github.com/users/gm42/gists{/gist_id}","starred_url":"https://api.github.com/users/gm42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gm42/subscriptions","organizations_url":"https://api.github.com/users/gm42/orgs","repos_url":"https://api.github.com/users/gm42/repos","events_url":"https://api.github.com/users/gm42/events{/privacy}","received_events_url":"https://api.github.com/users/gm42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-23T17:08:54Z","updated_at":"2016-11-24T14:21:06Z","closed_at":null,"body":"### Which version of Elastic are you using?\r\n\r\n[ ] elastic.v2 (for Elasticsearch 1.x)\r\n[x] elastic.v3 (for Elasticsearch 2.x)\r\n[ ] elastic.v5 (for Elasticsearch 5.x)\r\n\r\n### Please describe the expected behavior\r\nI am using `BulkIndexRequest` and would like to explicitly set `DetectNoop` to `true`.\r\n\r\n### Please describe the actual behavior\r\n\r\nThere does not seem to be such method available.\r\n\r\nSimilarly to https://github.com/elastic/elasticsearch/issues/10881, I assume the feature is available in Elasticsearch 2.x but there is no client option to enable it?"},"comment":{"url":"https://api.github.com/repos/olivere/elastic/issues/comments/262787060","html_url":"https://github.com/olivere/elastic/issues/401#issuecomment-262787060","issue_url":"https://api.github.com/repos/olivere/elastic/issues/401","id":262787060,"user":{"login":"gm42","id":16498973,"avatar_url":"https://avatars.githubusercontent.com/u/16498973?v=3","gravatar_id":"","url":"https://api.github.com/users/gm42","html_url":"https://github.com/gm42","followers_url":"https://api.github.com/users/gm42/followers","following_url":"https://api.github.com/users/gm42/following{/other_user}","gists_url":"https://api.github.com/users/gm42/gists{/gist_id}","starred_url":"https://api.github.com/users/gm42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gm42/subscriptions","organizations_url":"https://api.github.com/users/gm42/orgs","repos_url":"https://api.github.com/users/gm42/repos","events_url":"https://api.github.com/users/gm42/events{/privacy}","received_events_url":"https://api.github.com/users/gm42/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T14:21:06Z","updated_at":"2016-11-24T14:21:06Z","body":"So, I dug a bit into this. The `detect_noop` is enabled by default for **update** bulk requests (making PR #403 somewhat of a whistle&bell). For **index** bulk requests, as I was asking originally, it's a different situation, see https://github.com/elastic/elasticsearch/issues/12969\r\n\r\nBasically from the documentation update they did there (https://github.com/nik9000/elasticsearch/blob/master/docs/reference/docs/index_.asciidoc#noop-updates), it's clear that index API has no option for this :cry: "}}
{"actor":{"display_login":"gm42"}}