Thread View: news.software.nntp
4 messages
4 total messages
Started by Doug Weiss
Thu, 08 Jul 1999 00:00
Best way to search a database of NNTP messages
Author: Doug Weiss
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
10 lines
1200 bytes
1200 bytes
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. 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.
Re: Best way to search a database of NNTP messages
Author: 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.
Re: Best way to search a database of NNTP messages
Author: Kjetil Torgrim Homme
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
12 lines
1099 bytes
1099 bytes
[bill davidsen] > I'm curious why anyone would do this, given the low efficiency of > scanning everything. I think the only practical solution is Larry Wall's newsclip program or similar. You install it as a feed, and it looks for regexps. Kjetil T.
Re: Best way to search a database of NNTP messages
Author: greg andruk
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
15 lines
1316 bytes
1316 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes: > [bill davidsen] >> I'm curious why anyone would do this, given the low efficiency of >> scanning everything. > I think the only practical solution is Larry Wall's newsclip program > or similar. You install it as a feed, and it looks for regexps. Yeah, this is basically what the dnews indexer does (or did a couple years ago when I playes with it). It worked, but ate resources like candy if given too many groups to index.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads