Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Mark Triggs <mst@dishevelled.net>
To: info-gnus-english@gnu.org
Subject: A small patch for nnir.el
Date: Thu, 18 Mar 2010 14:04:26 +1100	[thread overview]
Message-ID: <87eijitjnp.fsf@dishevelled.net> (raw)

Hi all,

I've written my own little Lucene-based mail indexer to index my Gnus
mail, and have hooked this into nnir.el.  It's been working well for a
while, but I've always been a little disappointed that 90% of the time
my search results take to come back is Gnus hitting the disk to grab
mail headers--especially when I've got those headers available in my
search indexes anyway.

To get around this, I modified nnir.el to add a hook that gets called at
the point of fetching NOV header data.  If this hook is non-nil, it is
called for each search result hit and is expected to return the
necessary headers in NOV format.  This allowed me to use the headers
returned by my indexing engine, and makes rendering the results summary
very fast, even for thousands of results.

I'm writing here because I'm a bit unsure who I should offer my (tiny)
nnir.el patch to.  The ding list seems to have fallen to the spammers,
and Kai Großjohann said that, although my patch looked sensible, he's no
longer the primary maintainer of nnir.el.

Can anyone point me in the right direction?

Thanks!

Mark

-- 
Mark Triggs
<mst@dishevelled.net>

             reply	other threads:[~2010-03-18  3:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18  3:04 Mark Triggs [this message]
2010-03-19 19:29 ` Ted Zlatanov
2010-03-19 22:09   ` Mark Triggs
2010-03-20 15:05     ` Ted Zlatanov
2010-03-20 21:01       ` Mark Triggs
2010-03-22 12:56         ` Ted Zlatanov

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=87eijitjnp.fsf@dishevelled.net \
    --to=mst@dishevelled.net \
    --cc=info-gnus-english@gnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).