* using swish-e to search gnus mail archives
@ 2005-12-28 15:24 Angelina Carlton
0 siblings, 0 replies; only message in thread
From: Angelina Carlton @ 2005-12-28 15:24 UTC (permalink / raw)
Hello everyone,
I have followed the directions here:
http://my.gnus.org/node/217
to set up swish-e as a way to index and search my mail archives.
The swish-e application, from the command line works perfectly:
,----
| [orchid@lemonjelly:~] $ swish-e -f ~/Mail/index.swish-e -w "Gift
| Certificate"
| # SWISH format: 2.4.3
| # Search words: Gift Certificate
| # Removed stopwords:
| # Number of hits: 7
| # Search time: 0.546 seconds
| # Run time: 0.573 seconds
| 1000 /home/orchid/Mail/inbox/5141 "Gift Certificate" 18391
| 565 /home/orchid/Mail/inbox/3911 "3911" 802738
| 565 /home/orchid/Mail/inbox/2859 "2859" 802738
| 257 /home/orchid/Mail/grrls-only/812 "812" 7799
| 257 /home/orchid/Mail/grrls-only/2565 "2565" 5962
| 199 /home/orchid/Mail/grrls-only/44 "44" 5397
| 199 /home/orchid/Mail/debian-user/8312 "8312" 4001
`----
So now all I needed to do was to get gnus to generate a swish-e buffer,
following the instructions on the site, I included this in my .gnus-el:
,----
| ;; swish-e --------------------------------------------------------------
| ;; apt-get install swish-e
| ;; whet wget ftp://ftp.is.informatik.uni-duisburg.de/pub/src/emacs/nnir.el
| (require 'nnir)
| (setq nnir-mail-backend (nth 0 gnus-secondary-select-methods)
| nnir-search-engine 'swish-e)
`----
Now from the the summary buffer I press G G and I am asked for a query,
after that I get a beep and in the minibuffer:
Wrong type argument: arrayp, nil
I do get the buffer *Summary nnir:((query . "Gift Certificate"))* but
alas it is empty....
the *Messages* buffer contains:
,----
| Opening nnir server on -ephemeral...done
| Doing swish-e query ((query . Gift Certificate))...
| swish-e args: -f /home/orchid/Mail/index.swish-e -w Gift Certificate
| Loading cl-seq...done
| Massaging swish-e output...done
| Doing swish-e query ((query . Gift Certificate))...
| swish-e args: -f /home/orchid/Mail/index.swish-e -w Gift Certificate
| Massaging swish-e output...done
| Doing swish-e query ((query . Gift Certificate))...
| swish-e args: -f /home/orchid/Mail/index.swish-e -w Gift Certificate
| Massaging swish-e output...done
| Retrieving newsgroup: nnir:((query . "Gift Certificate"))...
| Fetching headers for nnir:((query . "Gift Certificate"))...
| mail-header-set-number: Wrong type argument: arrayp, nil
`----
I don't know what this last function does even with the built-in help it
is unclear to me what I need to do.
,----
| mail-header-set-number is a Lisp macro in `nnheader'.
| (mail-header-set-number HEADER NUMBER)
|
| Set article number of HEADER to NUMBER.
`----
Please if someone could tell me how to get this working I would be so
happy, I really like the idea of a search buffer inside gnus instead of
command line tools like grepmail or just plain old grep!
Thanks in advance
--
-----Angelina Carlton-----
orchid on irc.freenode.net
brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-28 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-28 15:24 using swish-e to search gnus mail archives Angelina Carlton
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).