Add (extracted) attachment text to the search index?

Steven Allen steven at stebalien.com
Wed Mar 1 09:55:31 PST 2017


David Bremner <david at tethera.net> writes:
> This would require some modifications of notmuch. Either modifying
> lib/index.cc to add the terms at indexing (notmuch new/insert) time, or
> providing some way of adding the terms later. The former actually sounds
> simpler to me.

To do this correctly, you'd want to be able to run an external text
extraction tool (for PDFs, word documents, etc.) so I think the latter
would be better in the long run (it would allow the user to index
attachments in the hooks).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20170301/737d4f71/attachment.sig>


More information about the notmuch mailing list