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

Nicholas DiPiazza edited comment on TIKA-3495 at 7/24/21, 11:56 PM:
--------------------------------------------------------------------

[~tallison] i created a PR adding nested document use case. the
{code:java}
_root_ {code}
field is stored=false by default. So you can query it, but it wouldn't appear.

In the integration test I added the stored=true so you can query it and see it. 
Also added a int test.

I also added the emitKey before the UUID in the child documents because it 
helped readability a lot.


was (Author: ndipiazza):
[~tallison] i created a PR adding nested document use case. the
{code:java}
_root_ {code}
field is stored=false by default. So you can query it, but it wouldn't appear.

In the integration test I added the stored=true so you can query it and see it. 
Also added a int test.

I also added the emitKey before the UUID in the child documents because it 
helped a lot.

> 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
>
>
> 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)

Reply via email to