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

Alexandre Rafalovitch commented on SOLR-7229:
---------------------------------------------

Regarding the implementation, I think the parser should serve as a source for 
inner entity. Maybe have a flag on parent to pass-down or not pass-down 
parent's metadata in. Or pass it down but with a consistent prefix, so it could 
always be filtered out.

> Allow DIH to handle attachments as separate documents
> -----------------------------------------------------
>
>                 Key: SOLR-7229
>                 URL: https://issues.apache.org/jira/browse/SOLR-7229
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Minor
>
> With Tika 1.7's RecursiveParserWrapper, it is possible to maintain metadata 
> of individual attachments/embedded documents.  Tika's default handling was to 
> maintain the metadata of the container document and concatenate the contents 
> of all embedded files.  With SOLR-7189, we added the legacy behavior.
> It might be handy, for example, to be able to send an MSG file through DIH 
> and treat the container email as well each attachment as separate (child?) 
> documents, or send a zip of jpeg files and correctly index the geo locations 
> for each image file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to