{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/lucidworks/spark-solr/pulls/42","id":63604895,"html_url":"https://github.com/lucidworks/spark-solr/pull/42","diff_url":"https://github.com/lucidworks/spark-solr/pull/42.diff","patch_url":"https://github.com/lucidworks/spark-solr/pull/42.patch","issue_url":"https://api.github.com/repos/lucidworks/spark-solr/issues/42","number":42,"state":"open","locked":false,"title":"Return zero splits instead of throwing an exception if there are on docs","user":{"login":"ganeshk7","id":12703495,"avatar_url":"https://avatars.githubusercontent.com/u/12703495?v=3","gravatar_id":"","url":"https://api.github.com/users/ganeshk7","html_url":"https://github.com/ganeshk7","followers_url":"https://api.github.com/users/ganeshk7/followers","following_url":"https://api.github.com/users/ganeshk7/following{/other_user}","gists_url":"https://api.github.com/users/ganeshk7/gists{/gist_id}","starred_url":"https://api.github.com/users/ganeshk7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganeshk7/subscriptions","organizations_url":"https://api.github.com/users/ganeshk7/orgs","repos_url":"https://api.github.com/users/ganeshk7/repos","events_url":"https://api.github.com/users/ganeshk7/events{/privacy}","received_events_url":"https://api.github.com/users/ganeshk7/received_events","type":"User","site_admin":false},"body":"* Changed the split strategy to produce zero splits if there are no docs (instead of throwing the exception). This will prevent the spark job from failing if there are no docs.\r\n* Added a unit test \"testSplitStrategyEmptyCollection\"","created_at":"2016-03-21T17:51:38Z","updated_at":"2016-03-21T17:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lucidworks/spark-solr/pulls/42/commits","review_comments_url":"https://api.github.com/repos/lucidworks/spark-solr/pulls/42/comments","review_comment_url":"https://api.github.com/repos/lucidworks/spark-solr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucidworks/spark-solr/issues/42/comments","statuses_url":"https://api.github.com/repos/lucidworks/spark-solr/statuses/4d3e472bcab48b6034785b521d01bda11209585d","head":{"label":"lucidworks:SPAR-9-Split-strategy-if-there-are-no-docs","ref":"SPAR-9-Split-strategy-if-there-are-no-docs","sha":"4d3e472bcab48b6034785b521d01bda11209585d","user":{"login":"lucidworks","id":4417866,"avatar_url":"https://avatars.githubusercontent.com/u/4417866?v=3","gravatar_id":"","url":"https://api.github.com/users/lucidworks","html_url":"https://github.com/lucidworks","followers_url":"https://api.github.com/users/lucidworks/followers","following_url":"https://api.github.com/users/lucidworks/following{/other_user}","gists_url":"https://api.github.com/users/lucidworks/gists{/gist_id}","starred_url":"https://api.github.com/users/lucidworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucidworks/subscriptions","organizations_url":"https://api.github.com/users/lucidworks/orgs","repos_url":"https://api.github.com/users/lucidworks/repos","events_url":"https://api.github.com/users/lucidworks/events{/privacy}","received_events_url":"https://api.github.com/users/lucidworks/received_events","type":"Organization","site_admin":false},"repo":{"id":29303892,"name":"spark-solr","full_name":"lucidworks/spark-solr","owner":{"login":"lucidworks","id":4417866,"avatar_url":"https://avatars.githubusercontent.com/u/4417866?v=3","gravatar_id":"","url":"https://api.github.com/users/lucidworks","html_url":"https://github.com/lucidworks","followers_url":"https://api.github.com/users/lucidworks/followers","following_url":"https://api.github.com/users/lucidworks/following{/other_user}","gists_url":"https://api.github.com/users/lucidworks/gists{/gist_id}","starred_url":"https://api.github.com/users/lucidworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucidworks/subscriptions","organizations_url":"https://api.github.com/users/lucidworks/orgs","repos_url":"https://api.github.com/users/lucidworks/repos","events_url":"https://api.github.com/users/lucidworks/events{/privacy}","received_events_url":"https://api.github.com/users/lucidworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lucidworks/spark-solr","description":"Tools for reading data from Solr as a Spark RDD and indexing objects from Spark into Solr using SolrJ.","fork":false,"url":"https://api.github.com/repos/lucidworks/spark-solr","forks_url":"https://api.github.com/repos/lucidworks/spark-solr/forks","keys_url":"https://api.github.com/repos/lucidworks/spark-solr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucidworks/spark-solr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucidworks/spark-solr/teams","hooks_url":"https://api.github.com/repos/lucidworks/spark-solr/hooks","issue_events_url":"https://api.github.com/repos/lucidworks/spark-solr/issues/events{/number}","events_url":"https://api.github.com/repos/lucidworks/spark-solr/events","assignees_url":"https://api.github.com/repos/lucidworks/spark-solr/assignees{/user}","branches_url":"https://api.github.com/repos/lucidworks/spark-solr/branches{/branch}","tags_url":"https://api.github.com/repos/lucidworks/spark-solr/tags","blobs_url":"https://api.github.com/repos/lucidworks/spark-solr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucidworks/spark-solr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucidworks/spark-solr/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucidworks/spark-solr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucidworks/spark-solr/statuses/{sha}","languages_url":"https://api.github.com/repos/lucidworks/spark-solr/languages","stargazers_url":"https://api.github.com/repos/lucidworks/spark-solr/stargazers","contributors_url":"https://api.github.com/repos/lucidworks/spark-solr/contributors","subscribers_url":"https://api.github.com/repos/lucidworks/spark-solr/subscribers","subscription_url":"https://api.github.com/repos/lucidworks/spark-solr/subscription","commits_url":"https://api.github.com/repos/lucidworks/spark-solr/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucidworks/spark-solr/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucidworks/spark-solr/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucidworks/spark-solr/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucidworks/spark-solr/contents/{+path}","compare_url":"https://api.github.com/repos/lucidworks/spark-solr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucidworks/spark-solr/merges","archive_url":"https://api.github.com/repos/lucidworks/spark-solr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucidworks/spark-solr/downloads","issues_url":"https://api.github.com/repos/lucidworks/spark-solr/issues{/number}","pulls_url":"https://api.github.com/repos/lucidworks/spark-solr/pulls{/number}","milestones_url":"https://api.github.com/repos/lucidworks/spark-solr/milestones{/number}","notifications_url":"https://api.github.com/repos/lucidworks/spark-solr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucidworks/spark-solr/labels{/name}","releases_url":"https://api.github.com/repos/lucidworks/spark-solr/releases{/id}","deployments_url":"https://api.github.com/repos/lucidworks/spark-solr/deployments","created_at":"2015-01-15T15:33:38Z","updated_at":"2016-03-21T10:23:14Z","pushed_at":"2016-03-21T17:45:26Z","git_url":"git://github.com/lucidworks/spark-solr.git","ssh_url":"git@github.com:lucidworks/spark-solr.git","clone_url":"https://github.com/lucidworks/spark-solr.git","svn_url":"https://github.com/lucidworks/spark-solr","homepage":null,"size":930,"stargazers_count":134,"watchers_count":134,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":6,"forks":75,"open_issues":6,"watchers":134,"default_branch":"master"}},"base":{"label":"lucidworks:master","ref":"master","sha":"9bd144b9f96aa4f2e88b8576cf984e99f2e2a33a","user":{"login":"lucidworks","id":4417866,"avatar_url":"https://avatars.githubusercontent.com/u/4417866?v=3","gravatar_id":"","url":"https://api.github.com/users/lucidworks","html_url":"https://github.com/lucidworks","followers_url":"https://api.github.com/users/lucidworks/followers","following_url":"https://api.github.com/users/lucidworks/following{/other_user}","gists_url":"https://api.github.com/users/lucidworks/gists{/gist_id}","starred_url":"https://api.github.com/users/lucidworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucidworks/subscriptions","organizations_url":"https://api.github.com/users/lucidworks/orgs","repos_url":"https://api.github.com/users/lucidworks/repos","events_url":"https://api.github.com/users/lucidworks/events{/privacy}","received_events_url":"https://api.github.com/users/lucidworks/received_events","type":"Organization","site_admin":false},"repo":{"id":29303892,"name":"spark-solr","full_name":"lucidworks/spark-solr","owner":{"login":"lucidworks","id":4417866,"avatar_url":"https://avatars.githubusercontent.com/u/4417866?v=3","gravatar_id":"","url":"https://api.github.com/users/lucidworks","html_url":"https://github.com/lucidworks","followers_url":"https://api.github.com/users/lucidworks/followers","following_url":"https://api.github.com/users/lucidworks/following{/other_user}","gists_url":"https://api.github.com/users/lucidworks/gists{/gist_id}","starred_url":"https://api.github.com/users/lucidworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucidworks/subscriptions","organizations_url":"https://api.github.com/users/lucidworks/orgs","repos_url":"https://api.github.com/users/lucidworks/repos","events_url":"https://api.github.com/users/lucidworks/events{/privacy}","received_events_url":"https://api.github.com/users/lucidworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lucidworks/spark-solr","description":"Tools for reading data from Solr as a Spark RDD and indexing objects from Spark into Solr using SolrJ.","fork":false,"url":"https://api.github.com/repos/lucidworks/spark-solr","forks_url":"https://api.github.com/repos/lucidworks/spark-solr/forks","keys_url":"https://api.github.com/repos/lucidworks/spark-solr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucidworks/spark-solr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucidworks/spark-solr/teams","hooks_url":"https://api.github.com/repos/lucidworks/spark-solr/hooks","issue_events_url":"https://api.github.com/repos/lucidworks/spark-solr/issues/events{/number}","events_url":"https://api.github.com/repos/lucidworks/spark-solr/events","assignees_url":"https://api.github.com/repos/lucidworks/spark-solr/assignees{/user}","branches_url":"https://api.github.com/repos/lucidworks/spark-solr/branches{/branch}","tags_url":"https://api.github.com/repos/lucidworks/spark-solr/tags","blobs_url":"https://api.github.com/repos/lucidworks/spark-solr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucidworks/spark-solr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucidworks/spark-solr/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucidworks/spark-solr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucidworks/spark-solr/statuses/{sha}","languages_url":"https://api.github.com/repos/lucidworks/spark-solr/languages","stargazers_url":"https://api.github.com/repos/lucidworks/spark-solr/stargazers","contributors_url":"https://api.github.com/repos/lucidworks/spark-solr/contributors","subscribers_url":"https://api.github.com/repos/lucidworks/spark-solr/subscribers","subscription_url":"https://api.github.com/repos/lucidworks/spark-solr/subscription","commits_url":"https://api.github.com/repos/lucidworks/spark-solr/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucidworks/spark-solr/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucidworks/spark-solr/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucidworks/spark-solr/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucidworks/spark-solr/contents/{+path}","compare_url":"https://api.github.com/repos/lucidworks/spark-solr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucidworks/spark-solr/merges","archive_url":"https://api.github.com/repos/lucidworks/spark-solr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucidworks/spark-solr/downloads","issues_url":"https://api.github.com/repos/lucidworks/spark-solr/issues{/number}","pulls_url":"https://api.github.com/repos/lucidworks/spark-solr/pulls{/number}","milestones_url":"https://api.github.com/repos/lucidworks/spark-solr/milestones{/number}","notifications_url":"https://api.github.com/repos/lucidworks/spark-solr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucidworks/spark-solr/labels{/name}","releases_url":"https://api.github.com/repos/lucidworks/spark-solr/releases{/id}","deployments_url":"https://api.github.com/repos/lucidworks/spark-solr/deployments","created_at":"2015-01-15T15:33:38Z","updated_at":"2016-03-21T10:23:14Z","pushed_at":"2016-03-21T17:45:26Z","git_url":"git://github.com/lucidworks/spark-solr.git","ssh_url":"git@github.com:lucidworks/spark-solr.git","clone_url":"https://github.com/lucidworks/spark-solr.git","svn_url":"https://github.com/lucidworks/spark-solr","homepage":null,"size":930,"stargazers_count":134,"watchers_count":134,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":6,"forks":75,"open_issues":6,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lucidworks/spark-solr/pulls/42"},"html":{"href":"https://github.com/lucidworks/spark-solr/pull/42"},"issue":{"href":"https://api.github.com/repos/lucidworks/spark-solr/issues/42"},"comments":{"href":"https://api.github.com/repos/lucidworks/spark-solr/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/lucidworks/spark-solr/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/lucidworks/spark-solr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucidworks/spark-solr/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/lucidworks/spark-solr/statuses/4d3e472bcab48b6034785b521d01bda11209585d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":59,"deletions":30,"changed_files":3}}