{"action":"opened","number":968,"pull_request":{"url":"https://api.github.com/repos/hibernate/hibernate-search/pulls/968","id":54360667,"html_url":"https://github.com/hibernate/hibernate-search/pull/968","diff_url":"https://github.com/hibernate/hibernate-search/pull/968.diff","patch_url":"https://github.com/hibernate/hibernate-search/pull/968.patch","issue_url":"https://api.github.com/repos/hibernate/hibernate-search/issues/968","number":968,"state":"open","locked":false,"title":"Query serialization","user":{"login":"Sanne","id":42573,"avatar_url":"https://avatars.githubusercontent.com/u/42573?v=3","gravatar_id":"","url":"https://api.github.com/users/Sanne","html_url":"https://github.com/Sanne","followers_url":"https://api.github.com/users/Sanne/followers","following_url":"https://api.github.com/users/Sanne/following{/other_user}","gists_url":"https://api.github.com/users/Sanne/gists{/gist_id}","starred_url":"https://api.github.com/users/Sanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sanne/subscriptions","organizations_url":"https://api.github.com/users/Sanne/orgs","repos_url":"https://api.github.com/users/Sanne/repos","events_url":"https://api.github.com/users/Sanne/events{/privacy}","received_events_url":"https://api.github.com/users/Sanne/received_events","type":"User","site_admin":false},"body":"@gustavonalle your same patch, but adding a unit test to catch Serialization issues on this class in the future.\r\n\r\nThe Lucene queries are not serializable, so I'm surprised you need this. Does my test model the Infinispan use case closely, i.e. by re-setting the Lucene Query instance?","created_at":"2015-12-22T11:39:36Z","updated_at":"2015-12-22T11:39:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hibernate/hibernate-search/pulls/968/commits","review_comments_url":"https://api.github.com/repos/hibernate/hibernate-search/pulls/968/comments","review_comment_url":"https://api.github.com/repos/hibernate/hibernate-search/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hibernate/hibernate-search/issues/968/comments","statuses_url":"https://api.github.com/repos/hibernate/hibernate-search/statuses/753666f2050112450a149d2ed0c815f42b52a31e","head":{"label":"Sanne:query_serialization","ref":"query_serialization","sha":"753666f2050112450a149d2ed0c815f42b52a31e","user":{"login":"Sanne","id":42573,"avatar_url":"https://avatars.githubusercontent.com/u/42573?v=3","gravatar_id":"","url":"https://api.github.com/users/Sanne","html_url":"https://github.com/Sanne","followers_url":"https://api.github.com/users/Sanne/followers","following_url":"https://api.github.com/users/Sanne/following{/other_user}","gists_url":"https://api.github.com/users/Sanne/gists{/gist_id}","starred_url":"https://api.github.com/users/Sanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sanne/subscriptions","organizations_url":"https://api.github.com/users/Sanne/orgs","repos_url":"https://api.github.com/users/Sanne/repos","events_url":"https://api.github.com/users/Sanne/events{/privacy}","received_events_url":"https://api.github.com/users/Sanne/received_events","type":"User","site_admin":false},"repo":{"id":1026619,"name":"hibernate-search","full_name":"Sanne/hibernate-search","owner":{"login":"Sanne","id":42573,"avatar_url":"https://avatars.githubusercontent.com/u/42573?v=3","gravatar_id":"","url":"https://api.github.com/users/Sanne","html_url":"https://github.com/Sanne","followers_url":"https://api.github.com/users/Sanne/followers","following_url":"https://api.github.com/users/Sanne/following{/other_user}","gists_url":"https://api.github.com/users/Sanne/gists{/gist_id}","starred_url":"https://api.github.com/users/Sanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sanne/subscriptions","organizations_url":"https://api.github.com/users/Sanne/orgs","repos_url":"https://api.github.com/users/Sanne/repos","events_url":"https://api.github.com/users/Sanne/events{/privacy}","received_events_url":"https://api.github.com/users/Sanne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sanne/hibernate-search","description":"Hibernate Search: full-text search for domain model","fork":true,"url":"https://api.github.com/repos/Sanne/hibernate-search","forks_url":"https://api.github.com/repos/Sanne/hibernate-search/forks","keys_url":"https://api.github.com/repos/Sanne/hibernate-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sanne/hibernate-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sanne/hibernate-search/teams","hooks_url":"https://api.github.com/repos/Sanne/hibernate-search/hooks","issue_events_url":"https://api.github.com/repos/Sanne/hibernate-search/issues/events{/number}","events_url":"https://api.github.com/repos/Sanne/hibernate-search/events","assignees_url":"https://api.github.com/repos/Sanne/hibernate-search/assignees{/user}","branches_url":"https://api.github.com/repos/Sanne/hibernate-search/branches{/branch}","tags_url":"https://api.github.com/repos/Sanne/hibernate-search/tags","blobs_url":"https://api.github.com/repos/Sanne/hibernate-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sanne/hibernate-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sanne/hibernate-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sanne/hibernate-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sanne/hibernate-search/statuses/{sha}","languages_url":"https://api.github.com/repos/Sanne/hibernate-search/languages","stargazers_url":"https://api.github.com/repos/Sanne/hibernate-search/stargazers","contributors_url":"https://api.github.com/repos/Sanne/hibernate-search/contributors","subscribers_url":"https://api.github.com/repos/Sanne/hibernate-search/subscribers","subscription_url":"https://api.github.com/repos/Sanne/hibernate-search/subscription","commits_url":"https://api.github.com/repos/Sanne/hibernate-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sanne/hibernate-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sanne/hibernate-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sanne/hibernate-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sanne/hibernate-search/contents/{+path}","compare_url":"https://api.github.com/repos/Sanne/hibernate-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sanne/hibernate-search/merges","archive_url":"https://api.github.com/repos/Sanne/hibernate-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sanne/hibernate-search/downloads","issues_url":"https://api.github.com/repos/Sanne/hibernate-search/issues{/number}","pulls_url":"https://api.github.com/repos/Sanne/hibernate-search/pulls{/number}","milestones_url":"https://api.github.com/repos/Sanne/hibernate-search/milestones{/number}","notifications_url":"https://api.github.com/repos/Sanne/hibernate-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sanne/hibernate-search/labels{/name}","releases_url":"https://api.github.com/repos/Sanne/hibernate-search/releases{/id}","created_at":"2010-10-26T20:06:17Z","updated_at":"2015-05-06T08:39:13Z","pushed_at":"2015-12-22T11:37:58Z","git_url":"git://github.com/Sanne/hibernate-search.git","ssh_url":"git@github.com:Sanne/hibernate-search.git","clone_url":"https://github.com/Sanne/hibernate-search.git","svn_url":"https://github.com/Sanne/hibernate-search","homepage":"http://search.hibernate.org","size":44852,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"hibernate:master","ref":"master","sha":"8ae867fecbbb9faa30bbc2cab4fa7e44f040594c","user":{"login":"hibernate","id":348262,"avatar_url":"https://avatars.githubusercontent.com/u/348262?v=3","gravatar_id":"","url":"https://api.github.com/users/hibernate","html_url":"https://github.com/hibernate","followers_url":"https://api.github.com/users/hibernate/followers","following_url":"https://api.github.com/users/hibernate/following{/other_user}","gists_url":"https://api.github.com/users/hibernate/gists{/gist_id}","starred_url":"https://api.github.com/users/hibernate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hibernate/subscriptions","organizations_url":"https://api.github.com/users/hibernate/orgs","repos_url":"https://api.github.com/users/hibernate/repos","events_url":"https://api.github.com/users/hibernate/events{/privacy}","received_events_url":"https://api.github.com/users/hibernate/received_events","type":"Organization","site_admin":false},"repo":{"id":990281,"name":"hibernate-search","full_name":"hibernate/hibernate-search","owner":{"login":"hibernate","id":348262,"avatar_url":"https://avatars.githubusercontent.com/u/348262?v=3","gravatar_id":"","url":"https://api.github.com/users/hibernate","html_url":"https://github.com/hibernate","followers_url":"https://api.github.com/users/hibernate/followers","following_url":"https://api.github.com/users/hibernate/following{/other_user}","gists_url":"https://api.github.com/users/hibernate/gists{/gist_id}","starred_url":"https://api.github.com/users/hibernate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hibernate/subscriptions","organizations_url":"https://api.github.com/users/hibernate/orgs","repos_url":"https://api.github.com/users/hibernate/repos","events_url":"https://api.github.com/users/hibernate/events{/privacy}","received_events_url":"https://api.github.com/users/hibernate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hibernate/hibernate-search","description":"Hibernate Search: full-text search for domain model","fork":false,"url":"https://api.github.com/repos/hibernate/hibernate-search","forks_url":"https://api.github.com/repos/hibernate/hibernate-search/forks","keys_url":"https://api.github.com/repos/hibernate/hibernate-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hibernate/hibernate-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hibernate/hibernate-search/teams","hooks_url":"https://api.github.com/repos/hibernate/hibernate-search/hooks","issue_events_url":"https://api.github.com/repos/hibernate/hibernate-search/issues/events{/number}","events_url":"https://api.github.com/repos/hibernate/hibernate-search/events","assignees_url":"https://api.github.com/repos/hibernate/hibernate-search/assignees{/user}","branches_url":"https://api.github.com/repos/hibernate/hibernate-search/branches{/branch}","tags_url":"https://api.github.com/repos/hibernate/hibernate-search/tags","blobs_url":"https://api.github.com/repos/hibernate/hibernate-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hibernate/hibernate-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hibernate/hibernate-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/hibernate/hibernate-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hibernate/hibernate-search/statuses/{sha}","languages_url":"https://api.github.com/repos/hibernate/hibernate-search/languages","stargazers_url":"https://api.github.com/repos/hibernate/hibernate-search/stargazers","contributors_url":"https://api.github.com/repos/hibernate/hibernate-search/contributors","subscribers_url":"https://api.github.com/repos/hibernate/hibernate-search/subscribers","subscription_url":"https://api.github.com/repos/hibernate/hibernate-search/subscription","commits_url":"https://api.github.com/repos/hibernate/hibernate-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/hibernate/hibernate-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/hibernate/hibernate-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/hibernate/hibernate-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/hibernate/hibernate-search/contents/{+path}","compare_url":"https://api.github.com/repos/hibernate/hibernate-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hibernate/hibernate-search/merges","archive_url":"https://api.github.com/repos/hibernate/hibernate-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hibernate/hibernate-search/downloads","issues_url":"https://api.github.com/repos/hibernate/hibernate-search/issues{/number}","pulls_url":"https://api.github.com/repos/hibernate/hibernate-search/pulls{/number}","milestones_url":"https://api.github.com/repos/hibernate/hibernate-search/milestones{/number}","notifications_url":"https://api.github.com/repos/hibernate/hibernate-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hibernate/hibernate-search/labels{/name}","releases_url":"https://api.github.com/repos/hibernate/hibernate-search/releases{/id}","created_at":"2010-10-15T15:55:09Z","updated_at":"2015-12-20T08:20:57Z","pushed_at":"2015-12-22T11:08:06Z","git_url":"git://github.com/hibernate/hibernate-search.git","ssh_url":"git@github.com:hibernate/hibernate-search.git","clone_url":"https://github.com/hibernate/hibernate-search.git","svn_url":"https://github.com/hibernate/hibernate-search","homepage":"http://search.hibernate.org","size":50850,"stargazers_count":165,"watchers_count":165,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":113,"mirror_url":null,"open_issues_count":9,"forks":113,"open_issues":9,"watchers":165,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hibernate/hibernate-search/pulls/968"},"html":{"href":"https://github.com/hibernate/hibernate-search/pull/968"},"issue":{"href":"https://api.github.com/repos/hibernate/hibernate-search/issues/968"},"comments":{"href":"https://api.github.com/repos/hibernate/hibernate-search/issues/968/comments"},"review_comments":{"href":"https://api.github.com/repos/hibernate/hibernate-search/pulls/968/comments"},"review_comment":{"href":"https://api.github.com/repos/hibernate/hibernate-search/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hibernate/hibernate-search/pulls/968/commits"},"statuses":{"href":"https://api.github.com/repos/hibernate/hibernate-search/statuses/753666f2050112450a149d2ed0c815f42b52a31e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":91,"deletions":10,"changed_files":9}}