Article View: news.software.nntp
Article #38505Re: Best way to search a database of NNTP messages
From: bill davidsen
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
46 lines
2902 bytes
2902 bytes
In article <3784fb75.6762764@news.norwlk1.ct.home.com>, Doug Weiss <dougweis@sprynet.com> wrote: | I would like to be able to do a full text search (not just on titles) | of all the newsgroups on my newsserver. I have been unable to find | any tools on the internet that will help; I have found DNEWS offers | this capability, but I'm interested in other approaches. Unless you have a very small news base or a very large machine, software is not your problem, the resources needed to pattern match on a few hundred GB are still intimidating. | Any pointers or help will be appreciated. I don't want to load all | the articles down to my client to be able to search...this must be | server based. Based on the above, if this is not your personal server the job is likely to take longer than the retention or have a major impact on performance. That said, two solutions come to mind. The brute force method is to use timehash article saving and something like find+grep to look for patterns. If you have SMP be creative and run multiple copies. If you have any idea what you want to find before you search, you can reduce the effort by orders of magnitude. For instance if you want info on cancer, don't search alt.binaries.pictures, alt.sex, alt.fan, etc. Unless you get points for quantity rather than quality. You can use the keyword feature in INN, or better yet do keyword generation in the incoming feed, either adding keyword to the article or building a database. The problem with the database is expiry, of course. Then set overview format to include keywords, and you can identify potential articles from the overview. By keeping the keywords broad, like medical, financial, war, drugs, whatever, you avoid having to know exactly what you want in advance, just categories. I'm curious why anyone would do this, given the low efficiency of scanning everything. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc The Internet is not the fountain of youth, but some days it feels like the fountain of immaturity.
Technical Details
Message-ID:
<7m30rq$1evi$1@newssvr03-int.news.prodigy.com>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-mailReferences:
<3784fb75.6762764@news.norwlk1.ct.home.com>Show Full Headers
Complete Article Headers
Message-ID: <7m30rq$1evi$1@newssvr03-int.news.prodigy.com> Subject: Re: Best way to search a database of NNTP messages Date: Thu, 08 Jul 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <3784fb75.6762764@news.norwlk1.ct.home.com> 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: 498815162 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr03-int.news.prodigy.com 931464890 48114 199.4.137.118 (8 Jul 1999 20:14:50 GMT) Organization: TMR Associates, Schenectady NY NNTP-Posting-Date: 8 Jul 1999 20:14:50 GMT Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com