🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #108869

Re: Scoring on Newsgroups header

#108869
From: Russ Allbery
Date: Thu, 05 Sep 2002 22:05
43 lines
2893 bytes
GaryM <garymcm@yahoo.com> writes:

> Strange you say that. This is a standard install and the only thing I
> did non-standard was add "Newsgroups" to the overview.fmt. I think I can
> undo this change now, as XHDR goes to article list and not XOVER?

XHDR in current versions of INN will go against the overview database if
available and otherwise will look in the articles (which is much slower).

> Anyway, here's the telnet session:

> group ne.general
> 211 4 6652 6656 ne.general

> xhdr newsgroups 6656
> 221 newsgroups fields follow
> .
> xhdr newsgroup 6656
> 221 newsgroup fields follow
> 6656 ne.general.selected,ne.general
> .

Oh, I understand what's going on.  That's really cute.

Correct me if I get any of this wrong.

You're running INN 2.3, which has a bug in the way that XHDR is handled
that causes XHDR newsgroup to match the Newsgroups header in the article.
You've also added Newsgroups to your overview, but you haven't re-run
makehistory to rebuild your overview since you did that.  So if you search
for Newsgroups, nnrpd looks at your overview schema and thinks "aha, this
must be in overview," but then when it looks there, it can't find it.

If, however, you look for Newsgroup, nnrpd doesn't think that it's in the
overview database, so it goes and looks at the article.  Then the bug
kicks in, and Newsgroup matches Newsgroups, and you get the right results.

The real fix is to rebuild the overview so that Newsgroups is included.
I'll also fix the bug in nnrpd where Newsgroup matches Newsgroups.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylbs7cnlc6.fsf@windlord.stanford.edu>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <Xns92806DF1C1D90R3344324357788499939@216.168.3.40> <Xns92806A647B141farkle@24.71.223.159> <Xns92808F4EC8EBDR3344324357788499939@216.168.3.40> <Xns928094CD1A574R3344324357788499939@216.168.3.40> <yllm6gqn61.fsf@windlord.stanford.edu> <Xns9280A68D4E132R3344324357788499939@216.168.3.40>

Show Full Headers
Complete Article Headers
Message-ID: <ylbs7cnlc6.fsf@windlord.stanford.edu>
Subject: Re: Scoring on Newsgroups header
Date: Thu, 05 Sep 2002 15:05:45 -0700
From: Russ Allbery <rra@stanford.edu>
References: <Xns92806DF1C1D90R3344324357788499939@216.168.3.40> <Xns92806A647B141farkle@24.71.223.159> <Xns92808F4EC8EBDR3344324357788499939@216.168.3.40> <Xns928094CD1A574R3344324357788499939@216.168.3.40> <yllm6gqn61.fsf@windlord.stanford.edu> <Xns9280A68D4E132R3344324357788499939@216.168.3.40>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.readers
Organization: The Eyrie
Lines: 42
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1031263545 15123 171.64.13.23 (5 Sep 2002 22:05:45 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:qJfajDzKVrblszRKO3XcfS1rfBg=