What URL is used for the attachments? If the URL contains a way to get to the primary document then there would not be any need for any other kind of linkage.
I have no problem with adding more of the metadata for attachments to the attachment RepositoryDocument but I don't see offhand how this can help. Karl On Thu, Mar 9, 2017 at 1:13 PM, Furkan KAMACI <[email protected]> wrote: > Hi, > > Currently, E-mail and its attachments are indexed individually. However, we > should link them somehow because there is not a direct link between them > (one can not access to parent - e-mail or child - attachment from one to > other). > > First of all, when we index e-mail documents, we have optional metadata > fields for attachments: > > Encoding of Attachment > Mime type of attachment > > it may be useful to store name of attachments (also ids of attachments) to > softly link them. I used the term 'softly', because a hardly linked > solution is similar to nested documents of Solr but it may break the > genericness. > > What do you think about it? > > Kind Regards, > Furkan KAMACI >
