scientist-softserv / britishlibrary

Other
3 stars 0 forks source link

Avoid too long solr uris #479

Closed cziaarm closed 12 months ago

cziaarm commented 1 year ago

Story

Various situations arise when there are a lot of collections that belong to a user in which big long queries that include all of those collection ids cause solr to carp about URIs that are too long. By making post rather than get requests in a small collection of places these errors are avoided.

Refs #473

Expected Behavior Before Changes

300+ collections cause dashboard and collection pages (when logged in) to fail

Expected Behavior After Changes

Dashboard and collection pages load even if there are many many collections

Screenshots / Video

Notes

My understanding is that the pre-Valkyrisation in Hyrax 3.5 may help with this issue