The default document list returns in the flat form. Try looking up a child
document by ID.

If that works, look for the child document transformer.

Regards,
   Alex

On 29 Sep 2016 12:46 AM, "Peri Subrahmanya" <peri.subrahma...@htcinc.com>
wrote:

Sorry Erick,

There wasn’t much to provide but here is the code snippet:

SolrInputDocument sid = new SolrInputDocument();
sid.addField(“someField”, “someValue”);

SolrInputDocument childSid = new SolrInputDocument();
childSid.add(“someField”, “someValue”);

sid.addChildDocument(childSid);

sendToSolr - this is just a solr http call with the input document.

Result: I see the parent doc get indexed. But there is no child document
when i look it up in the SolrAdmin interface.

Does this help?

Thanks
-Peri


> On Sep 28, 2016, at 1:39 PM, Erick Erickson <erickerick...@gmail.com>
wrote:
>
> There is close to zero information here to help diagnose your issue.
> You might review:
>
> http://wiki.apache.org/solr/UsingMailingLists
>
> Best,
> Erick
>
> On Wed, Sep 28, 2016 at 10:32 AM, Peri Subrahmanya
> <peri.subrahma...@htcinc.com> wrote:
>> Hi All,
>>
>> I have a simple case of indexing a SolrInputDocument with few
ChildSolrInputDocumnets. For some reason, the child documents aren’t
getting indexed. Is there any setting in the schema or config.xml that
needs to be updated?
>>
>> Thanks
>> -Peri Subrahmanya

Reply via email to