Sergio Schena created SOLR-7758:
-----------------------------------
Summary: cURL-like multiple JSON update ignore nested data
structure
Key: SOLR-7758
URL: https://issues.apache.org/jira/browse/SOLR-7758
Project: Solr
Issue Type: Bug
Components: Data-driven Schema
Affects Versions: 5.2.1
Reporter: Sergio Schena
I'm trying to upload the following documents to my collection
[
{
"id": "1",
"title": "Let's try Solr1",
"name" : {
"first": "Sergio",
"last": "Schena"
}
},
{
"id": "2",
"title": "Let's try Solr 2",
"name" : {
"first": "Sergio",
"last": "Schena"
}
}
]
using the /solr/collection_name/update API. The data are successfully uploaded
but the field name.first and name.last are not stored and I cannot retrieve
them when I search (over all my collection).
I checked the extracted schema and the missing fields are present!
In addition, if I upload only one document using the upload/json/docs the
fields are stored in the collection.
I think that I discovered a little bug in the multiple upload with nested data
types.
I didn't try with a schema definition and with the XML data format instead with
the JSON one.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]