[
https://issues.apache.org/jira/browse/TIKA-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390082#comment-17390082
]
Tim Allison edited comment on TIKA-3495 at 7/29/21, 7:18 PM:
-------------------------------------------------------------
Naturally, as soon as I send a help email to the solr users list, I find the
most recent documentation tells us that we're adding "anonymous" children with
"addChildDocument", which is the old way of doing things.
It looks like we should addField("child field name", childDocs).
https://solr.apache.org/guide/8_9/indexing-nested-documents.html
On indexing anonymous children:
https://solr.apache.org/guide/8_9/indexing-nested-documents.html#anon_solrj
was (Author: [email protected]):
Naturally, as soon as I send a help email to the solr users list, I find the
most recent documentation tells us that we're adding "anonymous" children with
"addChildDocument". It looks like we should addField("child field name",
childDocs).
https://solr.apache.org/guide/8_9/indexing-nested-documents.html
On indexing anonymous children:
https://solr.apache.org/guide/8_9/indexing-nested-documents.html#anon_solrj
> parent-child in solr emitter doesn't seem to include parent id (_nest_parent_)
> ------------------------------------------------------------------------------
>
> Key: TIKA-3495
> URL: https://issues.apache.org/jira/browse/TIKA-3495
> Project: Tika
> Issue Type: Bug
> Components: tika-pipes
> Affects Versions: 2.0.0
> Reporter: Tim Allison
> Priority: Minor
> Attachments: Screenshot from 2021-07-23 11-21-38.png, Screenshot from
> 2021-07-23 11-22-02.png, Screenshot from 2021-07-23 11-45-33.png, Screenshot
> from 2021-07-29 13-09-20.png, Screenshot from 2021-07-29 13-11-48.png,
> Screenshot from 2021-07-29 15-07-38.png
>
>
> I'm trying to draft examples of indexing parent-child relationships with the
> Solr emitter on the tika-pipes wiki page. With the latest 2.0.1-SNAPSHOT
> build, I'm not seeing any of the following fields populated: _root_,
> _nest_parent_, _nest_path_.
> Should these be auto-populated by Solrj or do we need to add these paths?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)