Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: nnir-retrieve-headers fails
Date: Tue, 22 Jun 2004 18:39:21 +0200	[thread overview]
Message-ID: <iluwu1zzgw6.fsf@latte.josefsson.org> (raw)
In-Reply-To: <xiuy8mfsoug.fsf@lnxniklas.se.axis.com>

Niklas Morberg <niklas.morberg@axis.com> writes:

> Sorry for all the postings today. I really want to be able
> to search through all my emails from within Gnus.
>
> When using nnir (nnir-version is: "$Id: nnir.el,v 1.1.1.1
> 2003/04/04 20:16:09 lolando Exp $") with `G G' from the
> group buffer and Gnus 5.10.6 I get the following error:
>
> nnheader-parse-head returned nil for article 4354 in group nnml:archive
>
> I get the same error (but for different files) no matter
> what search string I try to use. I have tried both swish-e
> and swish++, and the problem is there for both search
> engines. My settings are:
>
> (setq gnus-select-method '(nnimap "my-imap-server" (nnimap-stream ssl)))
> ;; I only use nnml to be able to use nnir. Do I need it at all?
> (setq gnus-secondary-select-methods '((nnml ""))))
>
> ;; nnir with swish++
> (require 'nnir)
> (setq nnir-search-engine 'swish++)
> (setq nnir-swish++-program "search++")
> (setq nnir-swish++-index-file "/home/niklas/News/swish++.index")
> (setq nnir-swish++-configuration-file "/home/niklas/News/swish++.conf")
> (setq nnir-swish++-remove-prefix "/home/niklas/News/agent/nnimap/my-imap-server/"))
>
> ;; nnir with swish-e
> (require 'nnir)
> (setq nnir-search-engine 'swish-e)
> (setq nnir-swish-e-index-file "/home/niklas/News/index.swish-e")
> (setq nnir-swish-e-remove-prefix "/home/niklas/News/agent/nnimap/my-imap-server/")
>
> I use the agent to fetch messages from my IMAP server to
> local storage and the file (e.g. 4354) does exist locally.
>
> I tried upgrading to nnir-version "$Id: nnir.el,v 7.4
> 2004/04/05 14:20:07 rsteib Exp $", but the result is still
> the same.

What do you want to search with nnir?  If it is IMAP, then you need:

(setq nnir-search-engine 'imap)

And then use # on the groups you want to search, and then G G.  This
uses the SEARCH command on the IMAP server directly, bypassing the
Gnus backend interface.

If you want to search the agent copy of the IMAP server, using swish,
I'm afraid I don't know how to do it.




  reply	other threads:[~2004-06-22 16:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-22 13:29 Niklas Morberg
2004-06-22 16:39 ` Simon Josefsson [this message]
2004-06-23  5:42   ` Niklas Morberg

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=iluwu1zzgw6.fsf@latte.josefsson.org \
    --to=jas@extundo.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;
as well as URLs for NNTP newsgroup(s).