Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: vasudeva@linkswarm.com (vasudeva)
Subject: [sup-talk] [PATCH] More gmail search goodness
Date: Fri, 18 Jan 2008 11:37:07 -0500	[thread overview]
Message-ID: <1200673899-sup-1833@lenin> (raw)
In-Reply-To: <1198367430-sup-936@south>

Excerpts from William Morgan's message of Sat Dec 22 19:45:54 -0500 2007:
> Excerpts from Marcus Williams's message of Tue Nov 27 14:34:02 -0800 2007:
> >
> > I'd like to add a has:attachment operator but the ferret index doesnt
> > appear to store enough info for this. It would be really nice to be
> > able to search for attachments (of certain types as well with
> > filename:...) I took a look at extending the index to add a new field
> > "filename" that contains a list of filenames attached to a message,
> > but this would break everyones index so I'm just requesting it as a
> > wishlist item rather than submitting a patch.
> 
> You're right, it requires adding an attachment field to the index. I
> think that adding a field to the Ferret index doesn't break index
> compatibility, so this actually might not be too hard to do. You'll have
> to rebuild the index to fill in the attachment status for pre-existing
> messages, but the change wouldn't invalidate anyone's index.

Was there every any movement in this direction? Specifically, toward a
has:attachment search function?

I ask because I find myself repeatedly running out of diskspace at work
(Outlook, 100Mb PST), which is actually almost enough space, without a
particular line of business that causes customers to mail me gigantic
attachments (1.5Mb PDF containing a 20k GIF, awesome), which I then have to go
in and delete. I mucked about with ways of programmatically seeking these out
and deleting them, before it eventually dawned on me that attachment references
aren't stored in the index.

(Business like 'is:larger-than=1000k' would be nifty.)

-- 
linkswarm.com :: Collaborative Insolence
vasudeva.linkswarm.com/gallery :: For The Faint of Heart



  reply	other threads:[~2008-01-18 16:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27 22:34 Marcus Williams
2007-12-23  0:45 ` William Morgan
2008-01-18 16:37   ` vasudeva [this message]
2008-01-18 17:18     ` Marcus Williams

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

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

  git send-email \
    --in-reply-to=1200673899-sup-1833@lenin \
    --to=vasudeva@linkswarm.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox