From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31811 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir/freeWAIS-sf Date: 16 Jul 2000 16:08:07 -0700 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 1035168179 16161 80.91.224.250 (21 Oct 2002 02:42:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:42:59 +0000 (UTC) Cc: ding@gnus.org 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 75FD5D051E for ; Sun, 16 Jul 2000 19:10:50 -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 SAC18543; Sun, 16 Jul 2000 18:10:38 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 16 Jul 2000 18:09:51 -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 SAA20862 for ; Sun, 16 Jul 2000 18:09:38 -0500 (CDT) Original-Received: from mail.networkone.net (mail.networkone.net [209.144.112.75]) by mailhost.sclp.com (Postfix) with SMTP id 3BECDD051E for ; Sun, 16 Jul 2000 19:10:13 -0400 (EDT) Original-Received: (qmail 15653 invoked from network); 16 Jul 2000 23:10:12 -0000 Original-Received: from adsl-117-113.ln.networkone.net (HELO reader.ptw.com) (209.144.117.113) by mail.networkone.net with SMTP; 16 Jul 2000 23:10:12 -0000 Original-Received: (from reader@localhost) by reader.ptw.com (8.9.3/8.9.3) id QAA02584; Sun, 16 Jul 2000 16:10:10 -0700 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Sun, 16 Jul 2000 23:43:58 +0200" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 Original-Lines: 57 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31811 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31811 Here is a `mail.fmt' including xref field. With that defined it gives a semi reliable way to search one or several groups. Assuming you don't move messages around too much once gnus has split them. These examples are command line examples, hence the escaping. waissearch -d mail xref=ding and subject=give Will find only messages in ding with the word `give' in the title. waissearch -d mail xref=\(ding or bbdb\) and subject=give Finds messages in either group with the word `give' in the subject. Putting that Xref field in there really opens up a lot of possibilities. The mail.fmt file: # An edited version of Kai's format file for freeWAIS-sf for # indexing mails. Each mail is in a file, much like the MH format. # Document separator should never match -- each file is a document. record-sep: /^@this regex should never match@$/ # Searchable fields specification. 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" SOUNDEX LOCAL TEXT BOTH end: /^[^ \t]/ region: /^Xref: / /^Xref */ xref "Xref headers" SOUNDEX LOCAL TEXT BOTH end: /^[^ \t]/ region: /^[fF][rR][oO][mM]:/ /^[fF][rR][oO][mM]: */ from "From header" SOUNDEX LOCAL TEXT BOTH end: /^[^ \t]/ region: /^$/ stemming TEXT GLOBAL end: /^@this regex should never match@$/