Article View: news.software.readers
Article #262591Re: [slrn] How does an Slrn user search for text in newsgroups?
From: J.B. Nicholson
Date: Sat, 17 Feb 2018 00:46
Date: Sat, 17 Feb 2018 00:46
57 lines
4176 bytes
4176 bytes
Hรฉctor Abreu <invalid@invalid.invalid> wrote: > I just started to use the new-search.sl macro, which works but a lot > slower than a web search engine. Slrn provides me with fast "Subject" > and "Author" search within a newsgroup, but I would like to know if an > average Slrn user solves the text search (inside messages) with > new-search.sl macro or some kind of search engine, including web search > engines. I see two separate issues here, so I'll try to address both of them. Issue 1: What can a local newsreader do to search netnews articles? No slrn macro will be able to do any better than making slrn issue a bunch of NNTP commands to one's server to download an article, search that article's text, and do something to indicate a match on articles that match. This will never compete with an indexed text search a search engine can offer because slrn can't do any better than a brute force search. Subject & author searches within a single newsgroup are fast because slrn is searching memory for data slrn already downloaded, thus vastly reducing the scope of the search and thus increasing its speed. I dare say the same is true of any newsreader; I only hesitate to draw this conclusion because I don't know if there's a newsreader out there that will collect articles and maintain an index so future searches are faster. Newsreaders that work on live article data from an NNTP server are in no position to do any better than slrn. So this issue really doesn't have much to do with slrn per se, it's a structural limitation of the way in which article data is retrieved and searched. But I understand that you came to ask this because of your experience with slrn, and there's nothing wrong with that. Brute force searches won't scale well, hence the need for searching indexes instead. Issue 2: How can one quickly find Usenet articles given some text from the article? The way I see it, your options come down to the following, listed in no particular order: - Do it yourself: find or write software to download articles and maintain an index, then search that index and have it return message-IDs which you can then read in context with a newsreader. This lets you keep your search criteria private, since your computer is handling all of the work. You could run a cache and index the cache to implement this method -- slrnpull + some indexer. If you want to integrate the indexed search into slrn that will require writing some code, but it could be done. - Use someone else's computer to do the job: There used to be DejaNews many years ago, then Google bought their archive. It looks like the search term "usenet search engine" returns some hits, so perhaps your favorite web search engine will also turn up some hits. https://www.reddit.com/r/usenet/wiki/indexers has pointers to indexers as well.
Technical Details
Message-ID:
<slrnp8eurv.osq.jbn@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.(126883).mbox.7z!not-for-mailReferences:
<slrnp8eal1.hdc.invalid@habreu2017122401.consoloconsola.ddns.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnp8eurv.osq.jbn@forestfield.org> Subject: Re: [slrn] How does an Slrn user search for text in newsgroups? Date: Sat, 17 Feb 2018 00:46:55 +0000 From: "J.B. Nicholson" <jbn@forestfield.org> References: <slrnp8eal1.hdc.invalid@habreu2017122401.consoloconsola.ddns.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: solani.org Lines: 58 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: solani.org 1518828415 15123 eJwFwYEBgDAIA7CXYCug50At/59gEjc9WchIxMYCnBaJM5+9yR4UTADOtj8TtuZyjKrvij8u/BHT (17 Feb 2018 00:46:55 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sat, 17 Feb 2018 00:46:55 +0000 (UTC) User-Agent: slrn/1.0.3 (Linux) X-NNTP-Posting-Host: eJwFwQcBwEAIBDBLPHAMOWX5l9AEYs/a1WCKw+2b1ENBMEzA+o3qR2vMGRZSF+ndlUzJKz8XBRC2 X-User-ID: eJwFwQkBwDAIA0BLZCM8dqCNfwm94x+ITQ+GU1ThCxQg+jA3W4MjWYfbENOo2jbZvV59/AEGARCE Cancel-Lock: sha1:Ob7zHNMAMfMOpfmWizSSs63/9sM= X-Received-Body-CRC: 1950411614 X-Received-Bytes: 4130