Hi All,

I'm in the process of porting our Solr 7.5 to 8.11.1. I'm using our legacy
schema.xml with ClassicIndexSchemaFactory in solrconfig.xml.

I have seen there have been some changes introduced to how child docs are
updated (
https://solr.apache.org/guide/8_0/major-changes-in-solr-8.html#nested-documents).
>From the docs:

*" ... an attempt to update a child document by providing a new document
with the same ID would add a new document (which will probably be
erroneous)"*

I'm not using nested docs, however I'm observing exactly that happening in
Solr 8.11.1 for all my docs. It seems like the only way of avoiding that is
adding this to the schema:

 <field name="_root_" type="string" indexed="true" stored="false"
docValues="false" />

which is supposed to be needed only for nested docs to refer to their
parent, is that correct? Has anyone seen this? Is that expected behaviour,
with the _root_ field needed to refer to itself in non-nested docs?

Thanks!
Eduardo

-- 

Mintel Group Ltd | Mintel House, 4 Playhouse Yard | London | EC4V 5EX
Registered in England: Number 1475918. | VAT Number: GB 232 9342 72

Contact details for our other offices can be found at 
http://www.mintel.com/office-locations 
<http://www.mintel.com/office-locations>.

This email and any attachments 
may include content that is confidential, privileged 
or otherwise 
protected under applicable law. Unauthorised disclosure, copying, 
distribution 
or use of the contents is prohibited and may be unlawful. If 
you have received this email in error,
including without appropriate 
authorisation, then please reply to the sender about the error 
and delete 
this email and any attachments.

Reply via email to