{"action":"created","issue":{"url":"https://api.github.com/repos/DSpace/DSpace/issues/2045","repository_url":"https://api.github.com/repos/DSpace/DSpace","labels_url":"https://api.github.com/repos/DSpace/DSpace/issues/2045/labels{/name}","comments_url":"https://api.github.com/repos/DSpace/DSpace/issues/2045/comments","events_url":"https://api.github.com/repos/DSpace/DSpace/issues/2045/events","html_url":"https://github.com/DSpace/DSpace/pull/2045","id":319747898,"number":2045,"title":"[DS-3377] Solr queries too long  (change search GET requests to POST)","user":{"login":"kshepherd","id":194773,"avatar_url":"https://avatars2.githubusercontent.com/u/194773?v=4","gravatar_id":"","url":"https://api.github.com/users/kshepherd","html_url":"https://github.com/kshepherd","followers_url":"https://api.github.com/users/kshepherd/followers","following_url":"https://api.github.com/users/kshepherd/following{/other_user}","gists_url":"https://api.github.com/users/kshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/kshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshepherd/subscriptions","organizations_url":"https://api.github.com/users/kshepherd/orgs","repos_url":"https://api.github.com/users/kshepherd/repos","events_url":"https://api.github.com/users/kshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/kshepherd/received_events","type":"User","site_admin":false},"labels":[{"id":1481426,"url":"https://api.github.com/repos/DSpace/DSpace/labels/improvement","name":"improvement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":{"login":"kshepherd","id":194773,"avatar_url":"https://avatars2.githubusercontent.com/u/194773?v=4","gravatar_id":"","url":"https://api.github.com/users/kshepherd","html_url":"https://github.com/kshepherd","followers_url":"https://api.github.com/users/kshepherd/followers","following_url":"https://api.github.com/users/kshepherd/following{/other_user}","gists_url":"https://api.github.com/users/kshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/kshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshepherd/subscriptions","organizations_url":"https://api.github.com/users/kshepherd/orgs","repos_url":"https://api.github.com/users/kshepherd/repos","events_url":"https://api.github.com/users/kshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/kshepherd/received_events","type":"User","site_admin":false},"assignees":[{"login":"kshepherd","id":194773,"avatar_url":"https://avatars2.githubusercontent.com/u/194773?v=4","gravatar_id":"","url":"https://api.github.com/users/kshepherd","html_url":"https://github.com/kshepherd","followers_url":"https://api.github.com/users/kshepherd/followers","following_url":"https://api.github.com/users/kshepherd/following{/other_user}","gists_url":"https://api.github.com/users/kshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/kshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshepherd/subscriptions","organizations_url":"https://api.github.com/users/kshepherd/orgs","repos_url":"https://api.github.com/users/kshepherd/repos","events_url":"https://api.github.com/users/kshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/kshepherd/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/DSpace/DSpace/milestones/27","html_url":"https://github.com/DSpace/DSpace/milestone/27","labels_url":"https://api.github.com/repos/DSpace/DSpace/milestones/27/labels","id":3260143,"number":27,"title":"6.4","description":"","creator":{"login":"kshepherd","id":194773,"avatar_url":"https://avatars2.githubusercontent.com/u/194773?v=4","gravatar_id":"","url":"https://api.github.com/users/kshepherd","html_url":"https://github.com/kshepherd","followers_url":"https://api.github.com/users/kshepherd/followers","following_url":"https://api.github.com/users/kshepherd/following{/other_user}","gists_url":"https://api.github.com/users/kshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/kshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshepherd/subscriptions","organizations_url":"https://api.github.com/users/kshepherd/orgs","repos_url":"https://api.github.com/users/kshepherd/repos","events_url":"https://api.github.com/users/kshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/kshepherd/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2018-04-11T21:04:39Z","updated_at":"2018-05-03T21:57:22Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-05-02T23:43:27Z","updated_at":"2018-05-07T21:36:40Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/DSpace/DSpace/pulls/2045","html_url":"https://github.com/DSpace/DSpace/pull/2045","diff_url":"https://github.com/DSpace/DSpace/pull/2045.diff","patch_url":"https://github.com/DSpace/DSpace/pull/2045.patch"},"body":"This PR changes Solr searches to use POST method instead of GET, including the searchJSON recommendation searches, as a way of avoiding large queries (eg. queries with lots of group restriction / policy params) failing due to URI length / header length constraints.\r\n\r\nThis PR is currently work-in-progress -- I think I've changed all the queries but there could be some missing. I've only changed discovery/search, have not touched authority, stats, oai Solr implementations."},"comment":{"url":"https://api.github.com/repos/DSpace/DSpace/issues/comments/387214353","html_url":"https://github.com/DSpace/DSpace/pull/2045#issuecomment-387214353","issue_url":"https://api.github.com/repos/DSpace/DSpace/issues/2045","id":387214353,"user":{"login":"mohideen","id":1703851,"avatar_url":"https://avatars1.githubusercontent.com/u/1703851?v=4","gravatar_id":"","url":"https://api.github.com/users/mohideen","html_url":"https://github.com/mohideen","followers_url":"https://api.github.com/users/mohideen/followers","following_url":"https://api.github.com/users/mohideen/following{/other_user}","gists_url":"https://api.github.com/users/mohideen/gists{/gist_id}","starred_url":"https://api.github.com/users/mohideen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohideen/subscriptions","organizations_url":"https://api.github.com/users/mohideen/orgs","repos_url":"https://api.github.com/users/mohideen/repos","events_url":"https://api.github.com/users/mohideen/events{/privacy}","received_events_url":"https://api.github.com/users/mohideen/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T21:36:40Z","updated_at":"2018-05-07T21:36:40Z","author_association":"CONTRIBUTOR","body":"We were able to test the changes at UMD and verify that the Solr search works even when a user has 200+ groups. The Solr search was failing with 414 for the user before this fix was applied. \r\n👍 "}}
{"actor":{"display_login":"mohideen"}}