Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* nnir with maildirs and swish-e
@ 2003-11-06 18:34 Andy Jacobson
  2003-11-11  8:32 ` Christoph Conrad
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Jacobson @ 2003-11-06 18:34 UTC (permalink / raw)


Howdy Folks,

Gnus 5.10.2
Gnu emacs 21.1.1
nnir.el 1.3 from http://quimby.gnus.org (~ 1.80?)
swish-e 2.4.0

    Once upon a time I had nnir working with nnml mail, but now I've
switched to using nnmaildir, and I'm having a spot of difficulty. 
nnir continually returns empty results:

Doing swish-e query ((query . kai))...
swish-e args: -f /home/aos/andyj/Mail/maildirs/.index.swish-e -w kai
Massaging swish-e output...done
Search produced empty results.
gnus-group-read-ephemeral-group: Couldn't request group: Search
produced empty results.

However, a swish-e search at the command line returns e.g.:

swish-e -f /home/aos/andyj/Mail/maildirs/.index.swish-e -w kai
# SWISH format: 2.4.0
# Search words: kai
# Removed stopwords: 
# Number of hits: 12
# Search time: 0.068 seconds
# Run time: 0.118 seconds
1000 Trash/cur/1067995483.M165311P9958Q0.tazman.Princeton.EDU:2, \
"1067995483.M165311P9958Q0.tazman.Princeton.EDU:2," 160366
633 Jacobson/cur/1068008269.M460437P11971Q0.tazman.Princeton.EDU:2, \
"1068008269.M460437P11971Q0.tazman.Princeton.EDU:2," 577481
...

I suspect nnir-swish-e-remove-prefix.  The group names should be Trash
and Jacobson (right?) and so I've been assuming that prefix == "" is
correct.  Various permutations of the default ("~/Mail",
"~/Mail/maildirs") don't work either.  Can nnir understand the "/cur/"
business above, which I suppose is part of the maildir protocol?  Any
other ideas?

Thanks!

  Andy


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

* Re: nnir with maildirs and swish-e
  2003-11-06 18:34 nnir with maildirs and swish-e Andy Jacobson
@ 2003-11-11  8:32 ` Christoph Conrad
       [not found]   ` <37f319c3.0311120934.29c0d5ff@posting.google.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Conrad @ 2003-11-11  8:32 UTC (permalink / raw)


Hi Andy,

    > I've switched to using nnmaildir

I've seen into the source, and it seems to me that it seems a little
bit more work adapting nnir for the nnmaildir backend, sorry.

    > I suspect nnir-swish-e-remove-prefix.

No, that's not enough. It's a _pre_fix.

If you could find out which (definitely) is the article number in the
commandline output and what is the article number, i send you an
adjusted version which hopefully will work for you.

Later i'll integrate that back into nnir so that nnir seach engines
can deal with nnml and nnmaildir.

Herzliche Grüße,
  Christoph
-- 
"Lieber ein kleiner Teil von etwas ganz Großem als ein großer Teil von
einem Haufen Scheiße." (Franziska van Almsick)


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

* Re: nnir with maildirs and swish-e
       [not found]   ` <37f319c3.0311120934.29c0d5ff@posting.google.com>
@ 2003-11-12 22:38     ` Christoph Conrad
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Conrad @ 2003-11-12 22:38 UTC (permalink / raw)


Hi Andy,

    > So if I have the directory and file names of the maildir
    > articles satisfying the search criteria, is it possible to
    > translate this into group names and article numbers?

I hope so... Choose an easy to find article in gnus included in your
nnmaildir backend and search it with swish-e. Send the whole headers
of the article in raw format ("C-u g" on the article in the summary
buffer) and the output line of swish-e to me.

Herzliche Grüße,
  Christoph
-- 
"Lieber ein kleiner Teil von etwas ganz Großem als ein großer Teil von
einem Haufen Scheiße." (Franziska van Almsick)


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

end of thread, other threads:[~2003-11-12 22:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-06 18:34 nnir with maildirs and swish-e Andy Jacobson
2003-11-11  8:32 ` Christoph Conrad
     [not found]   ` <37f319c3.0311120934.29c0d5ff@posting.google.com>
2003-11-12 22:38     ` Christoph Conrad

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