From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31795 Path: main.gmane.org!not-for-mail From: Francisco Solsona Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir/freeWAIS-sf Date: 15 Jul 2000 13:10:17 -0500 Organization: Universidad Nacional =?iso-8859-1?q?Aut=F3noma_de_M=E9xico?= Sender: owner-ding@hpc.uh.edu Message-ID: <86g0pb4646.fsf@beta.fciencias.unam.mx> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168165 16091 80.91.224.250 (21 Oct 2002 02:42:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:42:45 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id B6BFBD051E for ; Sat, 15 Jul 2000 14:48:55 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAC16817; Sat, 15 Jul 2000 13:45:22 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 15 Jul 2000 13:44:18 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA10713 for ; Sat, 15 Jul 2000 13:44:06 -0500 (CDT) Original-Received: from beta.fciencias.unam.mx (beta.fciencias.unam.mx [132.248.195.38]) by mailhost.sclp.com (Postfix) with ESMTP id D0960D051E for ; Sat, 15 Jul 2000 14:43:18 -0400 (EDT) Original-Received: (from solsona@localhost) by beta.fciencias.unam.mx (8.9.3/8.9.3) id NAA13313; Sat, 15 Jul 2000 13:42:36 -0500 (CDT) (envelope-from solsona) Mail-Copies-To: never Original-To: Ding list In-Reply-To: Harry Putnam's message of "15 Jul 2000 06:53:03 -0700" X-Home-Page: http://www.biblioteca.fciencias.unam.mx/solsona X-Face: "e<&PCSuDeI>Wnz0s(fk:UP((Y'&0**fKwX:LL\,e"-5AS4+1|fdTE!(r,"&eLI}x(aQy-j M(jT(KvDbG@:bC<#KFDy}}*'Y8V7@DGOy39Ze@8P@tN)a%m/+'#Z?[+V&XUibbO writes: > 1) The C-u G G (allow group selection) option does not work with freeWAIS It wasn't supposed to work in the first place. Take a look at `nnir-engines', you will notice that only Glimpse supports group selection. So doing `C-u G G' and simply `G G' yields the exact same results if 'wais is your search engine. > 2) Queries aimed at `from' or `to' fields fail, although queries to > `subject' field or global queries, work For me (using the mail.fmt file suggested by Kai) was even worst, because only `subject' queries used to work. I'm not sure (at all) that this is the Right Thing(TM) to do, but I'm using: ,-------------------- | record-sep: /^@this regex should never match@$/ | | # Searchable fields specification. | region: /^[fF][rR][oO][mM]:/ /^[fF][rR][oO][mM]: */ | from "From header" stemming TEXT BOTH | end: /^[^ \t]/ | | region: /^[sS]ubject:/ /^[sS]ubject: */ | subject "Subject header" stemming TEXT BOTH | end: /^[^ \t]/ | | region: /^([tT][oO]|[cC][cC]):/ /^([tT][oO]|[cC][cC]): */ | to "To and Cc headers" stemming TEXT BOTH | end: /^[^ \t]/ | | region: /^$/ | stemming TEXT GLOBAL | end: /^@this regex should never match@$/ `-------------------- and it works almost as you would expect it to. I used to use glimpse, but it was way too slow compared to freeWAIS-sf. Give it a try, replace your mail.fmt with the one above, and then run `makedb -clean mail', and `makedb -update mail', if you're using the makedb.conf file suggested by Kai, that is. > 4) These settings in .gnus: > (load "nnir-1.57.elc") > (setq nnir-wais-database "/home/reader/.wais/mail") > (setq nnir-search-engine `wais) I use: ,-------------------- | (require 'nnir) | (setq nnir-mail-backend '(nnml "private") | nnir-search-engine 'wais) `-------------------- and since nnir is `provided' is better to `require' it than `load' it, even though it won't make much of a difference. Does this help? Francisco -- Famous Last Words: It's perfectly safe. Let me show you. (contributed by Frank v Waveren)