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

append new path to existing path in URI rather than replacing existing path - for 2.x #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pksinghus
Copy link

I am surprised how this has been working for others but it my case when the base url is "http://localhost:8983/solr" and my request handler is "/select", rsolr issues a request to "http://localhost:8983/select" rather than to "http://localhost:8983/solr/select".

I had to make this little change so that "select" gets appended to existing path "/solr" to result in "solr/select/" rather than overwrite "/solr" to result in "/select".

@mwmitchell
Copy link
Contributor

Hi,

Could you show me how you are instantiating RSolr?

  • Matt

@ndushay
Copy link
Contributor

ndushay commented Feb 26, 2015

I agree that the existing behavior is broken and would like to see it fixed. This pull request needs tests, and it also would break backwards compatibility so it should be for release 2.x

@ndushay ndushay changed the title append new path to existing path in URI rather than replacing existing path append new path to existing path in URI rather than replacing existing path - for 2.x Feb 26, 2015
@jrochkind
Copy link
Contributor

I am trying to spend time on Rsolr maintenance. Is this still an issue? If it can be re-based with no conflicts and a test added, I can commit some time to reviewing!

It's too late to get it into 2.0 of course, and we're not looking at a 3.0 anytime soon... I don't fully understand the backwards compatibility issues... hmm.

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

4 participants