🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #67225

XPAT Search

#67225
From: J.B. Nicholson-Owens
Date: Wed, 01 Nov 2000 23:25
28 lines
2118 bytes
It's a shame you put XNews in the subject of this thread--it really has more
to do with NNTP and not any particular newsreader.  I hope people who aren't
XNews users but have valuable experience with NNTP still contribute.

Terry wrote:
> How do you search the whole newsserver instead of specific groups 
> individually?

You wouldn't use XPAT because XPAT only works in a group.  If you're issuing
the XPAT command before you issued your first GROUP command, you'll get an
error (412, for example, from INN).

To search across groups you need either the articles you want to search
(only really feasible from the server) or an index to search (again,
probably the server should make and maintain this).  Also you need the
command to allow you to do this.

A newsreader can simulate searching across groups by iterating over all the
groups with the same XPAT command but this will take a long time and with
XPAT you won't be able to search article bodies, only headers.

This is one of the reasons Deja.com's service is so valued.  Years ago I
proposed an SQL-like command for searching.  It could return an Xref: like
set of groups and article numbers or a simpler set of message-IDs.  Maybe
that would be more in line for what you're looking for.

Good luck!
Technical Details
Message-ID: <slrn9019h1.16t.jbn@next.forestfield.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <8FDFB0F99buffalobillsfanearth@207.217.77.23>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9019h1.16t.jbn@next.forestfield.org>
Subject: XPAT Search
Date: Wed, 01 Nov 2000 23:25:34 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <8FDFB0F99buffalobillsfanearth@207.217.77.23>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 27
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 973121134 24360672 208.216.67.173 (16 [35848])
User-Agent: slrn/0.9.6.3 (Unix)