pysolr
pysolr copied to clipboard
Trailing slashes in URI/path
I was going through https://lucene.apache.org/solr/guide/8_1/solr-tutorial.html and was trying to get pysolr working on my end.
I noticed that the URI's no longer have trailing slashes and there's no way to turn that off?
https://github.com/django-haystack/pysolr/blob/a2f252603e333d2dadc4e61b8f9bc3cae2b7ddbc/pysolr.py#L475
https://github.com/django-haystack/pysolr/blob/a2f252603e333d2dadc4e61b8f9bc3cae2b7ddbc/pysolr.py#L479
https://github.com/django-haystack/pysolr/blob/a2f252603e333d2dadc4e61b8f9bc3cae2b7ddbc/pysolr.py#L525
Is this causing a problem and if so with what version of Solr - 8.1? I’ve mostly used it with 7 and earlier so we might need to update for this.
So I know that it's causing us an issue with our solr 7.5 configuration.
I tried to research this through the solr guides/docs.. went as far back as solr 4.4 guide pdf. The section that looks interesting is the "Client API" that has a Python example that looks something like:
connection = urlopen('http://localhost:8983/solr/select?q=cheese&wt=python')
response = eval(connection.read())
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Any update on this? would you consider a PR?
Please send a PR — I have very little time available for open source these days and this isn't something I need for my projects.