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

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

Open
2 of 3 tasks
FuhuXia opened this issue Feb 25, 2021 · 1 comment

Comments

@FuhuXia
Copy link

FuhuXia commented Feb 25, 2021

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
@FuhuXia
Copy link
Author

FuhuXia commented Feb 25, 2021

Only happens on pysolr version 3.9.0. It is fine on 3.6.0, 3.7.0, 3.8.0.

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

1 participant