{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3502","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3502/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3502/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3502/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3502","id":53467972,"number":3502,"title":"Update document ID","user":{"login":"thelinuxlich","id":5043,"avatar_url":"https://avatars.githubusercontent.com/u/5043?v=3","gravatar_id":"","url":"https://api.github.com/users/thelinuxlich","html_url":"https://github.com/thelinuxlich","followers_url":"https://api.github.com/users/thelinuxlich/followers","following_url":"https://api.github.com/users/thelinuxlich/following{/other_user}","gists_url":"https://api.github.com/users/thelinuxlich/gists{/gist_id}","starred_url":"https://api.github.com/users/thelinuxlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelinuxlich/subscriptions","organizations_url":"https://api.github.com/users/thelinuxlich/orgs","repos_url":"https://api.github.com/users/thelinuxlich/repos","events_url":"https://api.github.com/users/thelinuxlich/events{/privacy}","received_events_url":"https://api.github.com/users/thelinuxlich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/tp:enhancement","name":"tp:enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/2","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/backlog","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/2/labels","id":211054,"number":2,"title":"backlog","description":"Issues in this milestone are not an immediate priority, and will be periodically revisited. When we decide to work on an issue in backlog, we'll move it to next.","creator":{"login":"coffeemug","id":48436,"avatar_url":"https://avatars.githubusercontent.com/u/48436?v=3","gravatar_id":"","url":"https://api.github.com/users/coffeemug","html_url":"https://github.com/coffeemug","followers_url":"https://api.github.com/users/coffeemug/followers","following_url":"https://api.github.com/users/coffeemug/following{/other_user}","gists_url":"https://api.github.com/users/coffeemug/gists{/gist_id}","starred_url":"https://api.github.com/users/coffeemug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coffeemug/subscriptions","organizations_url":"https://api.github.com/users/coffeemug/orgs","repos_url":"https://api.github.com/users/coffeemug/repos","events_url":"https://api.github.com/users/coffeemug/events{/privacy}","received_events_url":"https://api.github.com/users/coffeemug/received_events","type":"User","site_admin":false},"open_issues":553,"closed_issues":0,"state":"open","created_at":"2012-11-11T14:16:11Z","updated_at":"2015-12-15T23:04:44Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-01-06T00:56:12Z","updated_at":"2015-12-16T21:22:26Z","closed_at":null,"body":"Since the only way to guarantee uniqueness is to put all related fields inside the ID, but there are many cases where you want to update these unique values, I think this should be possible somehow"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/165252211","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3502#issuecomment-165252211","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3502","id":165252211,"user":{"login":"thelinuxlich","id":5043,"avatar_url":"https://avatars.githubusercontent.com/u/5043?v=3","gravatar_id":"","url":"https://api.github.com/users/thelinuxlich","html_url":"https://github.com/thelinuxlich","followers_url":"https://api.github.com/users/thelinuxlich/followers","following_url":"https://api.github.com/users/thelinuxlich/following{/other_user}","gists_url":"https://api.github.com/users/thelinuxlich/gists{/gist_id}","starred_url":"https://api.github.com/users/thelinuxlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelinuxlich/subscriptions","organizations_url":"https://api.github.com/users/thelinuxlich/orgs","repos_url":"https://api.github.com/users/thelinuxlich/repos","events_url":"https://api.github.com/users/thelinuxlich/events{/privacy}","received_events_url":"https://api.github.com/users/thelinuxlich/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T21:22:26Z","updated_at":"2015-12-16T21:22:26Z","body":"Now that I noticed the huge performance difference between querying by primary key and by secondary index, this becomes much more valuable for tables with millions of documents.\r\nWhen modelling a time-series database, you will desire something like [id, created_at] or [id, updated_at], but the date part can change"}}