samvera / questioning_authority

Question your authorities
Other
54 stars 30 forks source link

ulan failing in search containing more than one term #163

Closed kdid closed 5 years ago

kdid commented 6 years ago

We are using QA in our Hyrax app and have found that our ULAN searches fails with a Faraday::ConnectionFailed (Connection reset by peer): error if the search contains more than one term (like a name).

gif-ulan-qa

Also, using the sparql endpoint, http://vocab.getty.edu/sparql

The multi-term query in QA's ulan_spec.rb fails: https://github.com/samvera/questioning_authority/blob/master/spec/lib/authorities/getty/ulan_spec.rb#L81

while the single term query does not: https://github.com/samvera/questioning_authority/blob/master/spec/lib/authorities/getty/ulan_spec.rb#L70