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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB