From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41687 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Searching a news server Date: Sun, 06 Jan 2002 20:24:42 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177046 7497 80.91.224.250 (21 Oct 2002 05:10:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:10:46 +0000 (UTC) Return-Path: Original-Received: (qmail 16977 invoked from network); 6 Jan 2002 21:12:40 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 6 Jan 2002 21:12:40 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16NKa0-0000RL-00; Sun, 06 Jan 2002 15:11:44 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 06 Jan 2002 15:11:36 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA00695 for ; Sun, 6 Jan 2002 15:11:24 -0600 (CST) Original-Received: (qmail 15380 invoked by alias); 6 Jan 2002 19:24:47 -0000 Original-Received: (qmail 15375 invoked from network); 6 Jan 2002 19:24:46 -0000 Original-Received: from quimby.gnus.org (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 6 Jan 2002 19:24:46 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16NIub-0003vI-00 for ; Sun, 06 Jan 2002 20:24:53 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 23 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby2.netfonds.no 1010345093 14366 195.204.10.148 (6 Jan 2002 19:24:53 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 6 Jan 2002 19:24:53 GMT Mail-Copies-To: never X-Now-Playing: Dead Can Dance's _1981-1998 (3)_: "Indus" User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Copyleft, i386-debian-linux) X-Face: f%iIb^(y4Be3pMSYoy{Wx/]0{$jukcPTdm4XLpd?=)EU2XG610_}|~vxUVNL&,W`+HvQzZ% `Vo[vo~pP*\2F}/(cR"9F(f;@6lh:. Cancel-Lock: sha1:n5U9RpgqgZKPJWV5d8gdED4OuNw= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41687 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41687 (I think the ding mailing list must be backlogged or something, because it's five hours since the previous message to the list was delivered here...) I've now written scripts for swishing over the spool and searching the indexes. I've done it in a fairly straightforward manner -- the indexing script goes over the spool and indexes any group that is newer than the index for that group. (The index files are kept in a separate spool that apes the main spool.) The searching function takes a group name, the requested number of matches, and the search string in this format: gnu.emacs.gnus:100:emacs sex mpeg (which I think will be a pretty representative search string.) Now, if someone would hack inn to take an XSEARCH command, then I could have Gnus offer a command to use this... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen