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

removing the need for a /update/json request handler #43

Open
ghost opened this issue Oct 22, 2014 · 0 comments
Open

removing the need for a /update/json request handler #43

ghost opened this issue Oct 22, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 22, 2014

As of Solr 4.0,
updates can be sent in json format via the default /update search handler.
If a user does not have the /update/json search handler the update will fail.

I have fixed this by changing line 309 in mysolr.py from

    url = urljoin(self.base_url, 'update/json')

to

    url = urljoin(self.base_url, 'update?wt=json')

in order to fix this. Should this change be global to everyone?
Thanks!

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

No branches or pull requests

0 participants