{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/1063","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/1063/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/1063/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/1063/events","html_url":"https://github.com/elastic/elasticsearch/issues/1063","id":1114781,"number":1063,"title":"\"block until refresh\" indexing option","user":{"login":"caravone","id":370351,"avatar_url":"https://avatars.githubusercontent.com/u/370351?v=3","gravatar_id":"","url":"https://api.github.com/users/caravone","html_url":"https://github.com/caravone","followers_url":"https://api.github.com/users/caravone/followers","following_url":"https://api.github.com/users/caravone/following{/other_user}","gists_url":"https://api.github.com/users/caravone/gists{/gist_id}","starred_url":"https://api.github.com/users/caravone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caravone/subscriptions","organizations_url":"https://api.github.com/users/caravone/orgs","repos_url":"https://api.github.com/users/caravone/repos","events_url":"https://api.github.com/users/caravone/events{/privacy}","received_events_url":"https://api.github.com/users/caravone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:CRUD","name":":CRUD","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/discuss","name":"discuss","color":"fbca04"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/feature","name":"feature","color":"328a58"}],"state":"open","locked":false,"assignee":{"login":"nik9000","id":215970,"avatar_url":"https://avatars.githubusercontent.com/u/215970?v=3","gravatar_id":"","url":"https://api.github.com/users/nik9000","html_url":"https://github.com/nik9000","followers_url":"https://api.github.com/users/nik9000/followers","following_url":"https://api.github.com/users/nik9000/following{/other_user}","gists_url":"https://api.github.com/users/nik9000/gists{/gist_id}","starred_url":"https://api.github.com/users/nik9000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nik9000/subscriptions","organizations_url":"https://api.github.com/users/nik9000/orgs","repos_url":"https://api.github.com/users/nik9000/repos","events_url":"https://api.github.com/users/nik9000/events{/privacy}","received_events_url":"https://api.github.com/users/nik9000/received_events","type":"User","site_admin":false},"milestone":null,"comments":46,"created_at":"2011-06-25T14:54:03Z","updated_at":"2015-10-16T15:05:06Z","closed_at":null,"body":"Feature request:  Provide an option to the index operation that will wait until the next scheduled refresh occurs before returning a response.  After the response is returned, all documents indexed in that operation should be visible for search.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/148741128","html_url":"https://github.com/elastic/elasticsearch/issues/1063#issuecomment-148741128","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/1063","id":148741128,"user":{"login":"nharraud","id":5708796,"avatar_url":"https://avatars.githubusercontent.com/u/5708796?v=3","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T15:05:06Z","updated_at":"2015-10-16T15:05:06Z","body":"I had proposed a similar solution some months ago but using `realtime==true` to detect deletions.\r\n\r\nhttp://stackoverflow.com/questions/28111805/elasticsearch-block-until-refresh-wait-for-doc-to-be-searchable-alternatives"}}