🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37367

Re: Any way to search articles contents in INN?

#37367
From: greg andruk
Date: Tue, 11 May 1999 00:00
40 lines
2248 bytes
Mike <user9999@hotmail.com> writes:

> Hi,
> I was playing with INN servers several years ago but I do not recall
> any utility to search the articles contents. Is there such thing 
> included in INN or you have to grep the articles in their directories?

Yes, grep is the usual tool for that.  nnrpd does have things like
XOVER/XPAT for header searches, though.

Recent INN releases have had a mechanism to put interesting body text
into the overview (as Keywords:), though I think that feature may be
broken.

> Does anybody know how it is done on commercial sites? Do they
> feed the articles into some database to speed up retrievals?

DNEWS did (still does?) have an indexing tool.  Netscape's server also
implements a 'SEARCH' NNTP extension.  There is (or was) an IETF draft
floating around with some details.

> How would you run grep to list those articles which include *all*
> keywords specified by a user?

Most easily, point the user to remarQ or Deja Mess.

If you're looking at frequent usage, there are various programs out
there intended for indexing WWW sites. Adapting one to index a news
spool ought to be doable, but probably painful to maintain at today's
news volumes.

For a one-shot local deal, you might be better off using something
like perl or awk than grep, which is kinda line-oriented.

Or buy one of the servers that have the search stuff =)

-- 
Misc. Meowing: <URL:http://members.xoom.com/meowing/> **meow**

Technical Details
Message-ID: <87k8ufxhss.fsf@slip-32-100-202-102.ma.us.ibm.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <3738bca0.1748103@netnews.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <87k8ufxhss.fsf@slip-32-100-202-102.ma.us.ibm.net>
Subject: Re: Any way to search articles contents in INN?
Date: Tue, 11 May 1999 00:00:00 +0000
From: greg andruk <meowing@banet.net>
References: <3738bca0.1748103@netnews.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 476803518
X-Notice: should be reported to postmaster@ibm.net
X-Complaints-To: postmaster@ibm.net
X-Trace: 12 May 1999 00:18:05 GMT, 32.100.244.155
Organization: meow ergo vulis
Cancel-Lock: sha1:jSNGpI2W0t3X87krTBL2UlK/jF4=
Newsgroups: news.software.nntp