[ 
https://issues.apache.org/jira/browse/SOLR-10500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mikhail Khludnev updated SOLR-10500:
------------------------------------
    Attachment: SOLR-10500-test.patch

Attaching test extension to reproduce [^SOLR-10500-test.patch]. Failure is 
exactly the same what I've seen during a manual test today.
{code}
java.lang.AssertionError: expected:<2> but was:<4>
        at 
org.apache.solr.handler.JsonLoaderTest.testJsonDocFormat(JsonLoaderTest.java:446)
{code}

the line {{446}} is 
{code}
        assertEquals(2, 
p.addCommands.get(i).solrDoc.getChildDocuments().size());
{code}
both parent are expected to have 2 children, but one of them got two.


> custom json loading is wrong at least with two parents 
> -------------------------------------------------------
>
>                 Key: SOLR-10500
>                 URL: https://issues.apache.org/jira/browse/SOLR-10500
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: update
>    Affects Versions: 6.5
>            Reporter: Mikhail Khludnev
>         Attachments: SOLR-10500-test.patch
>
>
> Sending two parent docs with nested children in custom JSON leads to 
> hijacking neighbour's children. As a workaround, every parent can be sent 
> separately.   



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to