[
https://issues.apache.org/jira/browse/SOLR-16183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694043#comment-17694043
]
Vinayak Hegde commented on SOLR-16183:
--------------------------------------
Okay, got it.
Now, to achieve a single labelled nested child, we are planning to support a
{{name}} attribute on a not-in-a-{{{}<field>{}}} nested {{<doc>}} to achieve
this.
But what happens in this case? (where we have name attribute in both field and
doc)
{code:xml}
<doc>
<field name="id">1</field>
<field name="single_child">
<doc name="child">
<field name="id">3</field>
</doc>
</field>
</doc>
{code}
> XML Loader: support indexing single nested child document
> ---------------------------------------------------------
>
> Key: SOLR-16183
> URL: https://issues.apache.org/jira/browse/SOLR-16183
> Project: Solr
> Issue Type: Improvement
> Reporter: Thomas Corthals
> Priority: Major
> Labels: newbie
>
> The XML Loader always treats labelled nested children as a "multi-valued
> pseudo-field", whereas the JSON Loader can also index a single child document
> as well as an array of 1..n child documents.
> The XML Loader should have a corresponding syntax for a single labelled
> nested child.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]