Gnus development mailing list
 help / color / mirror / Atom feed
* nnir-retrieve-headers fails
@ 2004-06-22 13:29 Niklas Morberg
  2004-06-22 16:39 ` Simon Josefsson
  0 siblings, 1 reply; 3+ messages in thread
From: Niklas Morberg @ 2004-06-22 13:29 UTC (permalink / raw)


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.

Niklas




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

* Re: nnir-retrieve-headers fails
  2004-06-22 13:29 nnir-retrieve-headers fails Niklas Morberg
@ 2004-06-22 16:39 ` Simon Josefsson
  2004-06-23  5:42   ` Niklas Morberg
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Josefsson @ 2004-06-22 16:39 UTC (permalink / raw)


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.




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

* Re: nnir-retrieve-headers fails
  2004-06-22 16:39 ` Simon Josefsson
@ 2004-06-23  5:42   ` Niklas Morberg
  0 siblings, 0 replies; 3+ messages in thread
From: Niklas Morberg @ 2004-06-23  5:42 UTC (permalink / raw)
  Cc: ding

Simon Josefsson <jas@extundo.com> writes:

> What do you want to search with nnir?  If it is IMAP, then you need:
>
> (setq nnir-search-engine 'imap)

I got this to work a while back, but it was painfully slow
and I wasn't able to search for multiple words, only
complete strings. Which is why...

[snip]

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

...I'm trying to do this. Sorry for not making that clear to
begin with.

Niklas




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

end of thread, other threads:[~2004-06-23  5:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-22 13:29 nnir-retrieve-headers fails Niklas Morberg
2004-06-22 16:39 ` Simon Josefsson
2004-06-23  5:42   ` Niklas Morberg

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