Skip to content

Solr responded with an error (HTTP 400): [Reason: Error parsing JSON field value. Unexpected OBJECT_START at [##], field=??] #361

Description

@FuhuXia

I have

  • Tested with the latest release
  • Tested with the current master branch
  • Searched for similar existing issues

Expected behaviour

No solr error when adding doc.

Actual behaviour

Error when doc contains multiple levels of nested objects.

Solr responded with an error (HTTP 400): [Reason: Error parsing JSON field value.
Unexpected OBJECT_START at [79], field=property_level1]

Steps to reproduce the behaviour

Add doc:

{
	"id": "doc_1",
	"title": "title_1",
	"property_level1": {
		"property_level2": {
			"property_level3": 1
		}
	}
}

Configuration

  • Operating system version: Ubuntu 18.04
  • Search engine version: 5.5.5
  • Python version: 2.7.16
  • pysolr version: 3.9.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions