sciencehistory / scihist_digicoll

Science History Institute Digital Collections
Other
13 stars 0 forks source link

500 error from Blacklight on requesting a long search phrase #2157

Open honeybadger[bot] opened 1 year ago

honeybadger[bot] commented 1 year ago

digital.sciencehistory.org/collections/gt54kn818?q=some_very_long_string

gives you a 500 error:

Error: This builder doesn't allow terms that are larger than 1,000 characters

View full backtrace and more info at honeybadger.io

jrochkind commented 1 year ago

I wish we had the URL that produced this; but our HoneyBadger plan only keeps those details for two weeks, and we neglected to copy it over here. :(.

Makes it harder to investigate/reproduce. Although I guess it's just making some_very_long_string really really large. :)

I'm not sure what we intended to do about it -- one aspect was already captured in #2158, we don't want our Solr request to retry on failure.

Do we also want a nicer error message displayed to user-agent? I'm not sure if we care? @eddierubeiz , thoughts on what you were thinking when filing this, what was the problem that needed fixing how?