Hi I'm encountering the following error when indexing a parent and nested children documents. I'm using managed schemas, Solr 6.6.6, and Solrj to send the documents up to Solr for indexing. I have the default `_root_` field defined in the schema, and the parent document can be indexed without issue. It's when I include the field `pages` that Solr complains.
1040R.pdf was rejected by the server for Error from server at http://localhost:8983/solr/mycollection: ERROR: [doc=08464756-4ecd-4758-b8cc-9575d8a922ce] multiple values encountered for non multiValued field pages: [SolrInputDocument(fields: Here is the structure I'm trying to upload (this is psuedocode/JSON-ish representation to help represent data, their data types, and structure. This is NOT literally what I'm sending). SolrInputDocument { id: '08464756-4ecd-4758-b8cc-9575d8a922ce', archiveDate_dt: "2023-04-08T12:23:43Z", _batchId: 251 _type: "document", .... *pages*: [ SolrInputDocument { id: "1c482d15-6dd2-4bb2-8583-59231aa8db9b", archiveDate_dt: "2023-04-08T12:23:43Z", _batchId: 251 _pageNumber: 1, _type: "page", content: "lorem ipsum dolor...." }, SolrInputDocument { ... }, ... ] } It clearly doesn't like the field `pages` which isn't defined in the schema, but reading the various documents from Solr seems like it doesn't need to be? That Solr should recognize the nested documents contained within the embedded List and know what to do. Do I have that right? I'm piecing together information from several versions of Solr because the 6.6.6 docs are pretty sparse about how things work, and later versions do a better job explaining it. What am I doing wrong? Thanks in advance Charlie
