Skip to content

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

Description

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions