{"action":"created","comment":{"url":"https://api.github.com/repos/eXist-db/exist/pulls/comments/60840767","id":60840767,"diff_hunk":"@@ -305,6 +305,9 @@ public void endDTD() {\n     @Override\n     public void endDocument() {\n         if (!validate) {\n+            if(indexListener != null) {\n+                indexListener.endDocument(transaction);","path":"src/org/exist/Indexer.java","position":null,"original_position":5,"commit_id":"0c326c0057d7a65fc984a380f8e0ba8d3270c5f1","original_commit_id":"70ef25bb010cc378df73ac1ef2cdeed23e4a3ded","user":{"login":"shabanovd","id":112634,"avatar_url":"https://avatars.githubusercontent.com/u/112634?v=3","gravatar_id":"","url":"https://api.github.com/users/shabanovd","html_url":"https://github.com/shabanovd","followers_url":"https://api.github.com/users/shabanovd/followers","following_url":"https://api.github.com/users/shabanovd/following{/other_user}","gists_url":"https://api.github.com/users/shabanovd/gists{/gist_id}","starred_url":"https://api.github.com/users/shabanovd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shabanovd/subscriptions","organizations_url":"https://api.github.com/users/shabanovd/orgs","repos_url":"https://api.github.com/users/shabanovd/repos","events_url":"https://api.github.com/users/shabanovd/events{/privacy}","received_events_url":"https://api.github.com/users/shabanovd/received_events","type":"User","site_admin":false},"body":"https://github.com/shabanovd/exist/blob/2.1.0-RC54/src/org/exist/indexing/AbstractStreamListener.java#L86 and https://github.com/shabanovd/exist/blob/2.1.0-RC54/src/org/exist/indexing/AbstractStreamListener.java#L93","created_at":"2016-04-24T08:11:14Z","updated_at":"2016-04-24T08:11:14Z","html_url":"https://github.com/eXist-db/exist/pull/983#discussion_r60840767","pull_request_url":"https://api.github.com/repos/eXist-db/exist/pulls/983","_links":{"self":{"href":"https://api.github.com/repos/eXist-db/exist/pulls/comments/60840767"},"html":{"href":"https://github.com/eXist-db/exist/pull/983#discussion_r60840767"},"pull_request":{"href":"https://api.github.com/repos/eXist-db/exist/pulls/983"}}},"pull_request":{"url":"https://api.github.com/repos/eXist-db/exist/pulls/983","id":67592553,"html_url":"https://github.com/eXist-db/exist/pull/983","diff_url":"https://github.com/eXist-db/exist/pull/983.diff","patch_url":"https://github.com/eXist-db/exist/pull/983.patch","issue_url":"https://api.github.com/repos/eXist-db/exist/issues/983","number":983,"state":"open","locked":false,"title":"Indexing enhancements","user":{"login":"adamretter","id":1264057,"avatar_url":"https://avatars.githubusercontent.com/u/1264057?v=3","gravatar_id":"","url":"https://api.github.com/users/adamretter","html_url":"https://github.com/adamretter","followers_url":"https://api.github.com/users/adamretter/followers","following_url":"https://api.github.com/users/adamretter/following{/other_user}","gists_url":"https://api.github.com/users/adamretter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamretter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamretter/subscriptions","organizations_url":"https://api.github.com/users/adamretter/orgs","repos_url":"https://api.github.com/users/adamretter/repos","events_url":"https://api.github.com/users/adamretter/events{/privacy}","received_events_url":"https://api.github.com/users/adamretter/received_events","type":"User","site_admin":false},"body":"1. Provides better hints to the Index's StreamListener around the start and end of indexing for a document.\r\n\r\n2. Sends start/end document events to the Index's StreamListener for adding and removing binary resources. This provides the facility for a custom index to index binary resources.","created_at":"2016-04-23T01:53:44Z","updated_at":"2016-04-24T08:11:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7de8bd37a17078dae501c1cec4530f9584c0196b","assignee":null,"milestone":{"url":"https://api.github.com/repos/eXist-db/exist/milestones/3","html_url":"https://github.com/eXist-db/exist/milestones/eXist-3.0","labels_url":"https://api.github.com/repos/eXist-db/exist/milestones/3/labels","id":710929,"number":3,"title":"eXist-3.0","description":"Long term development, with significant changes","creator":{"login":"dizzzz","id":1700062,"avatar_url":"https://avatars.githubusercontent.com/u/1700062?v=3","gravatar_id":"","url":"https://api.github.com/users/dizzzz","html_url":"https://github.com/dizzzz","followers_url":"https://api.github.com/users/dizzzz/followers","following_url":"https://api.github.com/users/dizzzz/following{/other_user}","gists_url":"https://api.github.com/users/dizzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/dizzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dizzzz/subscriptions","organizations_url":"https://api.github.com/users/dizzzz/orgs","repos_url":"https://api.github.com/users/dizzzz/repos","events_url":"https://api.github.com/users/dizzzz/events{/privacy}","received_events_url":"https://api.github.com/users/dizzzz/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":135,"state":"open","created_at":"2014-07-05T12:32:58Z","updated_at":"2016-04-23T01:53:44Z","due_on":"2016-02-28T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/eXist-db/exist/pulls/983/commits","review_comments_url":"https://api.github.com/repos/eXist-db/exist/pulls/983/comments","review_comment_url":"https://api.github.com/repos/eXist-db/exist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eXist-db/exist/issues/983/comments","statuses_url":"https://api.github.com/repos/eXist-db/exist/statuses/0c326c0057d7a65fc984a380f8e0ba8d3270c5f1","head":{"label":"adamretter:indexing-enhancements","ref":"indexing-enhancements","sha":"0c326c0057d7a65fc984a380f8e0ba8d3270c5f1","user":{"login":"adamretter","id":1264057,"avatar_url":"https://avatars.githubusercontent.com/u/1264057?v=3","gravatar_id":"","url":"https://api.github.com/users/adamretter","html_url":"https://github.com/adamretter","followers_url":"https://api.github.com/users/adamretter/followers","following_url":"https://api.github.com/users/adamretter/following{/other_user}","gists_url":"https://api.github.com/users/adamretter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamretter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamretter/subscriptions","organizations_url":"https://api.github.com/users/adamretter/orgs","repos_url":"https://api.github.com/users/adamretter/repos","events_url":"https://api.github.com/users/adamretter/events{/privacy}","received_events_url":"https://api.github.com/users/adamretter/received_events","type":"User","site_admin":false},"repo":{"id":11710746,"name":"exist","full_name":"adamretter/exist","owner":{"login":"adamretter","id":1264057,"avatar_url":"https://avatars.githubusercontent.com/u/1264057?v=3","gravatar_id":"","url":"https://api.github.com/users/adamretter","html_url":"https://github.com/adamretter","followers_url":"https://api.github.com/users/adamretter/followers","following_url":"https://api.github.com/users/adamretter/following{/other_user}","gists_url":"https://api.github.com/users/adamretter/gists{/gist_id}","starred_url":"https://api.github.com/users/adamretter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamretter/subscriptions","organizations_url":"https://api.github.com/users/adamretter/orgs","repos_url":"https://api.github.com/users/adamretter/repos","events_url":"https://api.github.com/users/adamretter/events{/privacy}","received_events_url":"https://api.github.com/users/adamretter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamretter/exist","description":"eXist Native XML Database","fork":true,"url":"https://api.github.com/repos/adamretter/exist","forks_url":"https://api.github.com/repos/adamretter/exist/forks","keys_url":"https://api.github.com/repos/adamretter/exist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamretter/exist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamretter/exist/teams","hooks_url":"https://api.github.com/repos/adamretter/exist/hooks","issue_events_url":"https://api.github.com/repos/adamretter/exist/issues/events{/number}","events_url":"https://api.github.com/repos/adamretter/exist/events","assignees_url":"https://api.github.com/repos/adamretter/exist/assignees{/user}","branches_url":"https://api.github.com/repos/adamretter/exist/branches{/branch}","tags_url":"https://api.github.com/repos/adamretter/exist/tags","blobs_url":"https://api.github.com/repos/adamretter/exist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamretter/exist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamretter/exist/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamretter/exist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamretter/exist/statuses/{sha}","languages_url":"https://api.github.com/repos/adamretter/exist/languages","stargazers_url":"https://api.github.com/repos/adamretter/exist/stargazers","contributors_url":"https://api.github.com/repos/adamretter/exist/contributors","subscribers_url":"https://api.github.com/repos/adamretter/exist/subscribers","subscription_url":"https://api.github.com/repos/adamretter/exist/subscription","commits_url":"https://api.github.com/repos/adamretter/exist/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamretter/exist/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamretter/exist/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamretter/exist/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamretter/exist/contents/{+path}","compare_url":"https://api.github.com/repos/adamretter/exist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamretter/exist/merges","archive_url":"https://api.github.com/repos/adamretter/exist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamretter/exist/downloads","issues_url":"https://api.github.com/repos/adamretter/exist/issues{/number}","pulls_url":"https://api.github.com/repos/adamretter/exist/pulls{/number}","milestones_url":"https://api.github.com/repos/adamretter/exist/milestones{/number}","notifications_url":"https://api.github.com/repos/adamretter/exist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamretter/exist/labels{/name}","releases_url":"https://api.github.com/repos/adamretter/exist/releases{/id}","deployments_url":"https://api.github.com/repos/adamretter/exist/deployments","created_at":"2013-07-27T20:42:43Z","updated_at":"2015-11-27T12:54:28Z","pushed_at":"2016-04-23T01:55:30Z","git_url":"git://github.com/adamretter/exist.git","ssh_url":"git@github.com:adamretter/exist.git","clone_url":"https://github.com/adamretter/exist.git","svn_url":"https://github.com/adamretter/exist","homepage":null,"size":416742,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"develop"}},"base":{"label":"eXist-db:develop","ref":"develop","sha":"2d010d5e9b604b919ae88246e925797477b82338","user":{"login":"eXist-db","id":2393489,"avatar_url":"https://avatars.githubusercontent.com/u/2393489?v=3","gravatar_id":"","url":"https://api.github.com/users/eXist-db","html_url":"https://github.com/eXist-db","followers_url":"https://api.github.com/users/eXist-db/followers","following_url":"https://api.github.com/users/eXist-db/following{/other_user}","gists_url":"https://api.github.com/users/eXist-db/gists{/gist_id}","starred_url":"https://api.github.com/users/eXist-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eXist-db/subscriptions","organizations_url":"https://api.github.com/users/eXist-db/orgs","repos_url":"https://api.github.com/users/eXist-db/repos","events_url":"https://api.github.com/users/eXist-db/events{/privacy}","received_events_url":"https://api.github.com/users/eXist-db/received_events","type":"Organization","site_admin":false},"repo":{"id":11695619,"name":"exist","full_name":"eXist-db/exist","owner":{"login":"eXist-db","id":2393489,"avatar_url":"https://avatars.githubusercontent.com/u/2393489?v=3","gravatar_id":"","url":"https://api.github.com/users/eXist-db","html_url":"https://github.com/eXist-db","followers_url":"https://api.github.com/users/eXist-db/followers","following_url":"https://api.github.com/users/eXist-db/following{/other_user}","gists_url":"https://api.github.com/users/eXist-db/gists{/gist_id}","starred_url":"https://api.github.com/users/eXist-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eXist-db/subscriptions","organizations_url":"https://api.github.com/users/eXist-db/orgs","repos_url":"https://api.github.com/users/eXist-db/repos","events_url":"https://api.github.com/users/eXist-db/events{/privacy}","received_events_url":"https://api.github.com/users/eXist-db/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eXist-db/exist","description":"eXist Native XML Database and Application Platform","fork":false,"url":"https://api.github.com/repos/eXist-db/exist","forks_url":"https://api.github.com/repos/eXist-db/exist/forks","keys_url":"https://api.github.com/repos/eXist-db/exist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eXist-db/exist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eXist-db/exist/teams","hooks_url":"https://api.github.com/repos/eXist-db/exist/hooks","issue_events_url":"https://api.github.com/repos/eXist-db/exist/issues/events{/number}","events_url":"https://api.github.com/repos/eXist-db/exist/events","assignees_url":"https://api.github.com/repos/eXist-db/exist/assignees{/user}","branches_url":"https://api.github.com/repos/eXist-db/exist/branches{/branch}","tags_url":"https://api.github.com/repos/eXist-db/exist/tags","blobs_url":"https://api.github.com/repos/eXist-db/exist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eXist-db/exist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eXist-db/exist/git/refs{/sha}","trees_url":"https://api.github.com/repos/eXist-db/exist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eXist-db/exist/statuses/{sha}","languages_url":"https://api.github.com/repos/eXist-db/exist/languages","stargazers_url":"https://api.github.com/repos/eXist-db/exist/stargazers","contributors_url":"https://api.github.com/repos/eXist-db/exist/contributors","subscribers_url":"https://api.github.com/repos/eXist-db/exist/subscribers","subscription_url":"https://api.github.com/repos/eXist-db/exist/subscription","commits_url":"https://api.github.com/repos/eXist-db/exist/commits{/sha}","git_commits_url":"https://api.github.com/repos/eXist-db/exist/git/commits{/sha}","comments_url":"https://api.github.com/repos/eXist-db/exist/comments{/number}","issue_comment_url":"https://api.github.com/repos/eXist-db/exist/issues/comments{/number}","contents_url":"https://api.github.com/repos/eXist-db/exist/contents/{+path}","compare_url":"https://api.github.com/repos/eXist-db/exist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eXist-db/exist/merges","archive_url":"https://api.github.com/repos/eXist-db/exist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eXist-db/exist/downloads","issues_url":"https://api.github.com/repos/eXist-db/exist/issues{/number}","pulls_url":"https://api.github.com/repos/eXist-db/exist/pulls{/number}","milestones_url":"https://api.github.com/repos/eXist-db/exist/milestones{/number}","notifications_url":"https://api.github.com/repos/eXist-db/exist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eXist-db/exist/labels{/name}","releases_url":"https://api.github.com/repos/eXist-db/exist/releases{/id}","deployments_url":"https://api.github.com/repos/eXist-db/exist/deployments","created_at":"2013-07-26T21:53:48Z","updated_at":"2016-04-16T05:19:35Z","pushed_at":"2016-04-23T01:55:30Z","git_url":"git://github.com/eXist-db/exist.git","ssh_url":"git@github.com:eXist-db/exist.git","clone_url":"https://github.com/eXist-db/exist.git","svn_url":"https://github.com/eXist-db/exist","homepage":"http://www.exist-db.org","size":531006,"stargazers_count":120,"watchers_count":120,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":78,"mirror_url":null,"open_issues_count":195,"forks":78,"open_issues":195,"watchers":120,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/eXist-db/exist/pulls/983"},"html":{"href":"https://github.com/eXist-db/exist/pull/983"},"issue":{"href":"https://api.github.com/repos/eXist-db/exist/issues/983"},"comments":{"href":"https://api.github.com/repos/eXist-db/exist/issues/983/comments"},"review_comments":{"href":"https://api.github.com/repos/eXist-db/exist/pulls/983/comments"},"review_comment":{"href":"https://api.github.com/repos/eXist-db/exist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eXist-db/exist/pulls/983/commits"},"statuses":{"href":"https://api.github.com/repos/eXist-db/exist/statuses/0c326c0057d7a65fc984a380f8e0ba8d3270c5f1"}}}}