Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* A small patch for nnir.el
@ 2010-03-18  3:04 Mark Triggs
  2010-03-19 19:29 ` Ted Zlatanov
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Triggs @ 2010-03-18  3:04 UTC (permalink / raw)
  To: info-gnus-english

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>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-22 12:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-18  3:04 A small patch for nnir.el Mark Triggs
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

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).