🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Héctor Abreu Fri, 16 Feb 2018 18:51
[slrn] How does an Slrn user search for text in newsgroups?
#262593
Author: Héctor Abreu
Date: Fri, 16 Feb 2018 18:51
20 lines
2026 bytes
Hi,

I normally work via SSH and use Slrn to read newsgroups and post
questions, but when it comes to searching for text I still depend a lot
on Lynx and Duckduckgo, which is fine, but I was wondering if there is a
text search method more specific to newsgroups. When web search engines
show results that are in a newsgroup it is generally in Google Groups,
which tells me that I can not view it with Lynx web browser.

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.

Sorry if I am confused about some concepts, and thank you in advance for
any hint or help.
-- 
Héctor A. Abreu
Re: [slrn] How does an Slrn user search for text in newsgroups?
#262591
Author: J.B. Nicholson
Date: Sat, 17 Feb 2018 00:46
57 lines
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.
Re: [slrn] How does an Slrn user search for text in newsgroups?
#262721
Author: Paul Sture
Date: Sat, 28 Apr 2018 21:47
120 lines
6847 bytes
On 2018-02-17, J.B. Nicholson <jbn@forestfield.org> wrote:
> 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.

I used to use a Windows-only newsreader called Virtual Access which did
its own indexing of downloaded news articles, ditto downloaded POP mail,
for it was a mail client too.

For each newsgroups, you would set a retention period of, say 7 days,
after which read articles would be purged.  Unread articles would be
retained, and there were options like "mark all messages read", or "mark
selected messages read".  Messages could be mark for permanent Keep, and
a purge would leave these untouched.

Using a combination of keep and retention period, you could easily keep
the full content of long running thread in your local database until you
were done with it.  There were also some nice search features, plus
sub-searches, which meant you could easily see just how many posts
someone had contributed to a given thread (useful for trolls :-)).

It's one of the few programs I missed when I dropped Windows at home.

Initially proprietary, it then languished in an open source graveyard,
but it looks like someone has picked it up and is making a serious
attempt at making it viable again.

Softpedia says this about it:

    "Virtual Access is a mature and well established Windows mail client
    with news and conferencing capabilities.

    The product is well supported and has an extensive and experienced
    user community."

and offers a download.  If you are going to look at this product, head
instead to the official site at

	<http://virtual-access.org/>

FAQs at the wiki here:

    <http://wiki.virtual-access.org/tiki-list_faqs.php>

>
> 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.

My solution here is to use the leafnode news server, with generous
retention periods for my favourite newsgroups.  Once articles have been
retrieved, slrn only needs to go across the LAN to fetch them, which
speeds things up considerably.

I have a Python job which extracts articles from the leafnode database
(in /var/spool/news) for selected newsgroups, adding a .eml file
extension so that email-aware programs with interpret them as email
format (not quite news format, but near enough for my purposes).

I then rsync these messages into an EagleFiler (commercial, Mac only)
database.  This is capable of handling tens of thousands of messages,
even on a humble late 2012 model Mac mini.

The only real problem here is handling spam.  I have to work out leafnode
equivalents for any slrn killfile entries I have, and apply these to the
leafnode database.  Some entries inevitable slip through to the EagleFiler
database and I currently search out the pestilent ones manually.

Eaglefiler is commercial software, Mac only, but at USD 40, well worth it
for me:

    <https://c-command.com/eaglefiler/>

-- 
"Normal IMAP" isn't a thing. :) There's just a cluster of largely
similar implementations including Dovecot & Cyrus and a diffuse flock of
weird other things like GMail and Exchange that are only vaguely related
to IMAP.                            -- Bill Cole - MailMate mailing list
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