You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, any attachments of a mail message get extracted by ftw.mails own SearchableTextExtender.
This is error prone, requires hacks for broken MTAs / MUAs and non-trivial to debug. In setups that already use ftw.tika it's also unnecessary - Tika already extracts full text from mail attachments, and probably does so in a much more reliable way than we can.
I would therefore propose to make this behavior in ftw.mail configurable via a registry entry (defaulting to True (extract attachments)).
An alternative approach would be to check whether ftw.tika is installed, and simply skip the extraction of attachments if it is.
The only use case I see for disabling the behaviour is tika.
Therefore I'd not make it configurable but explicitly check for an installed ftw.tika (unless you see other use cases)...
In GEVER we'll overwrite the SearchableTextExtender anyways (see 4teamwork/opengever.core#2462 (comment)), so there is no need to change the SearchableTextExtender for us.
@jone@maethu if you need this adjustments anyways please coordinate with @tarnap. For now he will not implemented this change.
Currently, any attachments of a mail message get extracted by
ftw.mail
s own SearchableTextExtender.This is error prone, requires hacks for broken MTAs / MUAs and non-trivial to debug. In setups that already use
ftw.tika
it's also unnecessary - Tika already extracts full text from mail attachments, and probably does so in a much more reliable way than we can.I would therefore propose to make this behavior in
ftw.mail
configurable via a registry entry (defaulting toTrue
(extract attachments)).An alternative approach would be to check whether
ftw.tika
is installed, and simply skip the extraction of attachments if it is.@jone @maethu thoughts?
The text was updated successfully, but these errors were encountered: