unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Steven Allen <steven@stebalien.com>
To: notmuch@notmuchmail.org
Cc: David Bremner <david@tethera.net>,
	Olaf TNSB <still.another.person@gmail.com>
Subject: Re: Add (extracted) attachment text to the search index?
Date: Wed, 01 Mar 2017 09:55:31 -0800	[thread overview]
Message-ID: <877f48lw4s.fsf@bistromath> (raw)
In-Reply-To: <87inntut68.fsf@tethera.net>

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]


David Bremner <david@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).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-03-01 17:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01  2:58 Add (extracted) attachment text to the search index? Olaf TNSB
2017-03-01 11:34 ` David Bremner
2017-03-01 17:55   ` Steven Allen [this message]
2017-03-01 22:45     ` Olaf TNSB
2017-03-02  0:41       ` David Bremner
2017-03-02  0:55         ` Olaf TNSB

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877f48lw4s.fsf@bistromath \
    --to=steven@stebalien.com \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=still.another.person@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).