Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RSolr exception class stubbing for rsolr 2.0 #921

Merged
merged 1 commit into from
May 10, 2017
Merged

Conversation

cbeer
Copy link
Member

@cbeer cbeer commented May 9, 2017

No description provided.

@cbeer
Copy link
Member Author

cbeer commented May 9, 2017

I'd also entertain objections that this is an upstream problem in Blacklight with RSolr 2.x. I'm not completely convinced the distinction rsolr 1.x made between socket errors and http errors is all that useful, though.

@@ -35,14 +35,14 @@ def fetch_admin_sets
.rows(5)
response = repository.search(builder)
response.documents
rescue Blacklight::Exceptions::ECONNREFUSED
rescue Blacklight::Exceptions::ECONNREFUSED, Blacklight::Exceptions::InvalidRequest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the existing error go away if we use RSolr 2? If so, can you add a comment about this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depends whether we try to fix this in Blacklight or not.

@cbeer
Copy link
Member Author

cbeer commented May 9, 2017

This should fix the RSolr regression: rsolr/rsolr#176

@mjgiarlo mjgiarlo merged commit 89ef2ef into master May 10, 2017
@mjgiarlo mjgiarlo deleted the rsolr-stub branch May 10, 2017 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants