🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes.announce
Article #373

Re: full text search in rslight

#373
From: Retro Guy
Date: Mon, 08 Mar 2021 10:42
31 lines
2061 bytes
On Fri, 5 Mar 2021 09:22:10 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> This is a simple result from a search. Still doing this in a separate
> script.

I have it working fine creating snippets. I can use these for overboard
also, which should speed that up significantly.

Searching only the reply portion of messages seems to produce a nice
result. There is not every message in the thread in the result due to
quoting. Only the message with the terms, then you're in the thread and
can look around if you wish.

The snippet below (from <s24mcf$eja$1@dont-email.me>) is from a message
that is about 85% quote, so only the reply text (below) is what is
searched:

--------------------
Your sentiment is absolutely right. Which is why I use the open source
digikam tool. It's been around for well over a decade and is still being
supported. It is also cross platform working on windows, macOS and
linux. Being open source means that it'll never be pulled.
--------------------

I now need to modify the search script to offer searching the body, and
decide whether it should be per group, section or everything on the
site. The hard part is done, and is working well.

Retro Guy
Technical Details
Message-ID: <20210308034219.03160231@desktop14.dt>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!archive!not-for-mail
References: <20210228041226.313a0e61@desktop14.dt> <na.1081.2alye4@anon.com> <20210301014302.4af8f586@desktop14.dt> <20210303020916.394270af@desktop14.dt> <5cb3ebc2ee9167ef78880435b4cc8739$1@news.novabbs.org>

Show Full Headers
Complete Article Headers
Message-ID: <20210308034219.03160231@desktop14.dt>
Subject: Re: full text search in rslight
Date: Mon, 8 Mar 2021 03:42:19 -0700
From: Retro Guy <retro_guy@novabbs.com>
References: <20210228041226.313a0e61@desktop14.dt> <na.1081.2alye4@anon.com> <20210301014302.4af8f586@desktop14.dt> <20210303020916.394270af@desktop14.dt> <5cb3ebc2ee9167ef78880435b4cc8739$1@news.novabbs.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!archive!not-for-mail
Newsgroups: rocksolid.nodes.announce
Organization: novaBBS
X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit