{"action":"created","comment":{"url":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/comments/80422481","id":80422481,"diff_hunk":"@@ -274,6 +275,24 @@ def process(self, value, doc_node):\n         self.append_to_node(unicode(type), doc_node)\n \n \n+class VolumeIndex(Index):\n+    # XXX kludgy special case to only apply to IVolume objects and not to other\n+    # ICMSContent that has been adapted to find their IVolume.\n+\n+    def process(self, value, doc_node):\n+        if not zeit.content.volume.interfaces.IVolume.providedBy(value):\n+            return\n+\n+        solr_date = str(value.date_digital_published).replace(' ', 'T', 1)\n+        solr_date = solr_date.replace('+00:00', 'Z')\n+        self.solr = 'date_digital_published'\n+        self.append_to_node(unicode(solr_date), doc_node)\n+\n+        if value.product:","path":"src/zeit/solr/converter.py","position":25,"original_position":25,"commit_id":"2ce1a1e41a231341d3ac5bc729dfa13b210d5985","original_commit_id":"2ce1a1e41a231341d3ac5bc729dfa13b210d5985","user":{"login":"wosc","id":577891,"avatar_url":"https://avatars.githubusercontent.com/u/577891?v=3","gravatar_id":"","url":"https://api.github.com/users/wosc","html_url":"https://github.com/wosc","followers_url":"https://api.github.com/users/wosc/followers","following_url":"https://api.github.com/users/wosc/following{/other_user}","gists_url":"https://api.github.com/users/wosc/gists{/gist_id}","starred_url":"https://api.github.com/users/wosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wosc/subscriptions","organizations_url":"https://api.github.com/users/wosc/orgs","repos_url":"https://api.github.com/users/wosc/repos","events_url":"https://api.github.com/users/wosc/events{/privacy}","received_events_url":"https://api.github.com/users/wosc/received_events","type":"User","site_admin":false},"body":"Wenn wir das Erscheinungsdatum zum Sortieren/Vorgänger/Nachfolger benutzen, sollten wir das auf IVolume dann vielleicht required machen? (Was immernoch nicht heißt, dass es vorhanden ist, in Punkto die ganzen alten 1950er Jahrgänge...)","created_at":"2016-09-26T07:50:50Z","updated_at":"2016-09-26T07:50:50Z","html_url":"https://github.com/ZeitOnline/zeit.solr/pull/4#discussion_r80422481","pull_request_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/comments/80422481"},"html":{"href":"https://github.com/ZeitOnline/zeit.solr/pull/4#discussion_r80422481"},"pull_request":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/4","id":86483025,"html_url":"https://github.com/ZeitOnline/zeit.solr/pull/4","diff_url":"https://github.com/ZeitOnline/zeit.solr/pull/4.diff","patch_url":"https://github.com/ZeitOnline/zeit.solr/pull/4.patch","issue_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues/4","number":4,"state":"open","locked":false,"title":"ZON-3362: Index properties of ``IVolume`` objects.","user":{"login":"wosc","id":577891,"avatar_url":"https://avatars.githubusercontent.com/u/577891?v=3","gravatar_id":"","url":"https://api.github.com/users/wosc","html_url":"https://github.com/wosc","followers_url":"https://api.github.com/users/wosc/followers","following_url":"https://api.github.com/users/wosc/following{/other_user}","gists_url":"https://api.github.com/users/wosc/gists{/gist_id}","starred_url":"https://api.github.com/users/wosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wosc/subscriptions","organizations_url":"https://api.github.com/users/wosc/orgs","repos_url":"https://api.github.com/users/wosc/repos","events_url":"https://api.github.com/users/wosc/events{/privacy}","received_events_url":"https://api.github.com/users/wosc/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-09-23T09:44:49Z","updated_at":"2016-09-26T07:50:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a95a0e1aa263774beaffe70d8729f86ce77daa5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues/4/comments","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/statuses/2ce1a1e41a231341d3ac5bc729dfa13b210d5985","head":{"label":"ZeitOnline:ZON-3362","ref":"ZON-3362","sha":"2ce1a1e41a231341d3ac5bc729dfa13b210d5985","user":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"repo":{"id":28967747,"name":"zeit.solr","full_name":"ZeitOnline/zeit.solr","owner":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZeitOnline/zeit.solr","description":"Solr interface","fork":false,"url":"https://api.github.com/repos/ZeitOnline/zeit.solr","forks_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/forks","keys_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/teams","hooks_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/hooks","issue_events_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues/events{/number}","events_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/events","assignees_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/assignees{/user}","branches_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/branches{/branch}","tags_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/tags","blobs_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/languages","stargazers_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/stargazers","contributors_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/contributors","subscribers_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/subscribers","subscription_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/subscription","commits_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/contents/{+path}","compare_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/merges","archive_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/downloads","issues_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues{/number}","pulls_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/labels{/name}","releases_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/releases{/id}","deployments_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/deployments","created_at":"2015-01-08T13:46:36Z","updated_at":"2016-03-07T15:14:44Z","pushed_at":"2016-09-23T09:44:49Z","git_url":"git://github.com/ZeitOnline/zeit.solr.git","ssh_url":"git@github.com:ZeitOnline/zeit.solr.git","clone_url":"https://github.com/ZeitOnline/zeit.solr.git","svn_url":"https://github.com/ZeitOnline/zeit.solr","homepage":null,"size":594,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ZeitOnline:master","ref":"master","sha":"f69dbb02975aad104a3bd16998bc241908283943","user":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"repo":{"id":28967747,"name":"zeit.solr","full_name":"ZeitOnline/zeit.solr","owner":{"login":"ZeitOnline","id":51420,"avatar_url":"https://avatars.githubusercontent.com/u/51420?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeitOnline","html_url":"https://github.com/ZeitOnline","followers_url":"https://api.github.com/users/ZeitOnline/followers","following_url":"https://api.github.com/users/ZeitOnline/following{/other_user}","gists_url":"https://api.github.com/users/ZeitOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeitOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeitOnline/subscriptions","organizations_url":"https://api.github.com/users/ZeitOnline/orgs","repos_url":"https://api.github.com/users/ZeitOnline/repos","events_url":"https://api.github.com/users/ZeitOnline/events{/privacy}","received_events_url":"https://api.github.com/users/ZeitOnline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZeitOnline/zeit.solr","description":"Solr interface","fork":false,"url":"https://api.github.com/repos/ZeitOnline/zeit.solr","forks_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/forks","keys_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/teams","hooks_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/hooks","issue_events_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues/events{/number}","events_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/events","assignees_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/assignees{/user}","branches_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/branches{/branch}","tags_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/tags","blobs_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/languages","stargazers_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/stargazers","contributors_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/contributors","subscribers_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/subscribers","subscription_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/subscription","commits_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/contents/{+path}","compare_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/merges","archive_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/downloads","issues_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues{/number}","pulls_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/labels{/name}","releases_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/releases{/id}","deployments_url":"https://api.github.com/repos/ZeitOnline/zeit.solr/deployments","created_at":"2015-01-08T13:46:36Z","updated_at":"2016-03-07T15:14:44Z","pushed_at":"2016-09-23T09:44:49Z","git_url":"git://github.com/ZeitOnline/zeit.solr.git","ssh_url":"git@github.com:ZeitOnline/zeit.solr.git","clone_url":"https://github.com/ZeitOnline/zeit.solr.git","svn_url":"https://github.com/ZeitOnline/zeit.solr","homepage":null,"size":594,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/4"},"html":{"href":"https://github.com/ZeitOnline/zeit.solr/pull/4"},"issue":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues/4"},"comments":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ZeitOnline/zeit.solr/statuses/2ce1a1e41a231341d3ac5bc729dfa13b210d5985"}}}}
{"actor":{"display_login":"wosc"}}