From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31873 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir/freeWAIS-sf Date: Thu, 20 Jul 2000 16:48:48 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168234 16517 80.91.224.250 (21 Oct 2002 02:43:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:43:54 +0000 (UTC) Cc: ding@gnus.org, Norbert =?iso-8859-1?q?G=F6vert?= , Ulrich Pfeifer 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 DAFD0D051F for ; Thu, 20 Jul 2000 10:50:16 -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 JAC27837; Thu, 20 Jul 2000 09:49:59 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 20 Jul 2000 09:49:07 -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 JAA02000 for ; Thu, 20 Jul 2000 09:48:48 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id BDAC7D051F for ; Thu, 20 Jul 2000 10:49:22 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id QAA29643; Thu, 20 Jul 2000 16:48:48 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id QAA24675; Thu, 20 Jul 2000 16:48:48 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id QAA05191; Thu, 20 Jul 2000 16:48:48 +0200 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Harry Putnam In-Reply-To: Harry Putnam's message of "15 Jul 2000 06:53:03 -0700" User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90 Original-Lines: 33 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31873 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31873 On 15 Jul 2000, Harry Putnam wrote: > 2) Queries aimed at `from' or `to' fields fail, although queries to > `subject' field or global queries, work I have now, finally, found the solution. Stupid me :-/ It seems formulating fwsf queries isn't as simple as I thought it would be... waissearch -d ~/.wais/mail 'from=(soundex zeimetz)' This is the magic incantation. Okay. So, if you choose `SOUNDEX LOCAL TEXT BOTH' for a field, then you can do the following: waissearch -d ~/.wais/mail 'from=(soundex zeimetz)' This searches for similar-sounding names. waissearch -d ~/.wais/mail 'from=zeimetz' This applies the normal term-search routines. Does it now work for you use fmt specs like the following: region: /^([tT][oO]|[cC][cC]):/ /^([tT][oO]|[cC][cC]): */ to "To and Cc headers" SOUNDEX LOCAL TEXT BOTH end: /^[^ \t]/ This way, you should be able to find names by saying `to=(soundex NAME)' in the query. kai -- I like BOTH kinds of music.