lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris de Kok (JIRA)" <>
Subject [jira] [Created] (SOLR-11927) Deleting child documents in XML request
Date Tue, 30 Jan 2018 13:39:00 GMT
Chris de Kok created SOLR-11927:

             Summary: Deleting child documents in XML request
                 Key: SOLR-11927
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 7.2
            Reporter: Chris de Kok

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/rkd-webportal-dev/update?commitWithin=3000 -d '
[\{id : 1, _childDocuments_ : []}]'

Would make sure the child documents are deleted and this works ok.
Except in the XML variant.

            <field name="id">1</field>

It will not work because it will actually try to index it as a child document complaining
about missing required fields.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message