-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fts_decoder option support for indexing non-text attachments #68
Comments
Yes, this part need a bit more of debugging. I'll give it a push |
Please kindly try to apply PR of dovecot ( dovecot/core#155 ) with latest git |
@EuroTrash2 Any news ? |
Is there any way to force xapian to index attachments ? I can clearly see the error when running my unit tests:
The annoying line is this one:
|
Are you using the last version and setup you dovecot according to |
I am using the version in Debian bullseye, I want to stick with the Debian version. I hope this version will be fixed when Debian Bullseye will be out. |
I confirm this is fixed for me in v1.4.9a provided with Debian Bullseye. I can now IMAP SEARCH BODY for specific keywords contained into PDF attachments. This is beautiful. |
Hi, I'm trying to use dovecot's fts_decoder option but it doesn't seem to work.
My environment for testing:
My dovecot configuration for the xapian setup:
plugin {
plugin = fts fts_xapian
fts = xapian
fts_xapian = partial=3 full=20 attachments=1 verbose=2
fts_autoindex = yes
fts_enforced = yes
fts_autoindex_exclude = \Trash
fts_autoindex_exclude2 = \Junk
}
service indexer-worker {
vsz_limit = 2G
}
plugin {
fts_decoder = decode2text
}
service decode2text {
# NB: cp /usr/share/doc/dovecot-core/examples/decode2text.sh (Debian's own misplacement) to /usr/lib/dovecot
executable = script /usr/lib/dovecot/decode2text.sh
user = dovecot
unix_listener decode2text {
mode = 0666
}
}
The Solr setup is pretty much the same, with Solr's relevant options.
My steps to reproduce, using Mozilla Thunderbird:
Is the fts_decoder option supported in this Xapian FTS plugin? If not, are there any plans to support searching non-text attachments? I'd love to have that option, instead of having to use Solr
The text was updated successfully, but these errors were encountered: