You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Vinayak Hegde (Jira)" <ji...@apache.org> on 2023/02/27 06:09:00 UTC

[jira] [Commented] (SOLR-16183) XML Loader: support indexing single nested child document

    [ https://issues.apache.org/jira/browse/SOLR-16183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17693801#comment-17693801 ] 

Vinayak Hegde commented on SOLR-16183:
--------------------------------------

Hi, [~thomascorthals] I am interested in working on this project. After reviewing the documents and source code, I have a few questions and concerns that I would like to clarify.
what is the difference between a child doc and a subdoc?
from what I understand from looking into the code,
when we have
{code:xml}
<doc>
  <field name="id">1</field>
  <field name="children">
    <doc>
      <field name="id">3</field>
    </doc>
  </field>
</doc>{code}
it is a nested child doc

when we have
{code:java}
<doc>
  <field name="id">1</field>
  <doc>
    <field name="id">3</field>
  </doc>
</doc> {code}
it is a subdoc, right?

 

> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org