Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
7.2
-
None
-
None
-
None
Description
Currently there are some longstanding issues with deleting updating documents which contain child documents, there is a workaround by always adding the _childDocuments_ property e.g
curl http://localhost:4003/solr/test/update?commitWithin=3000 -d '
[
]'
Would make sure the child documents are deleted and this works ok.
Except in the XML variant.
<update>
<add>
<doc>
<field name="id">1</field>
<doc></doc>
</doc>
</add>
</update>
It will not work because it will actually try to index it as a child document complaining about missing required fields.