Article View: rocksolid.nodes
Article #381Re: sqllite, huh ?
From: Retro Guy
Date: Fri, 08 Jan 2021 07:04
Date: Fri, 08 Jan 2021 07:04
17 lines
2602 bytes
2602 bytes
trw wrote: > If I had one feature request, it would be fulltext search on a group or section (so: doing the search also on the bodies). > Not sure if this is doable in a sane time window though if messages are not in a db. I've been working on the np "bug" for a while now and I think I have it working much better. This is the one where it rebuilds the entire group every chance it gets, which takes processing time. Now the groups are pruned if necessary, and I have plans to improve it some more, but it's working well now. Back to search: I have been messing with this and have found one way to search through much less data to do a full text search. I'm using the code I wrote to display a snippet of a post in overboard, which does not include the quoted data. Many times the quoted data is most of the post. I'm using only the content from the actual poster in my testing (no quoted data), and it is not trimmed as it is for overboard, so it's the entire actual post without quote. This is much less data to search through, and I am storing it in a database, which isn't using much space at all. I really wish I still had the code I wrote several years ago when I wrote a search engine for a tor site. It was quite nice, included search suggestions, similar words and even words that "sound" the same. If I ever get full text search working in rslight, I plan to slowly rewrite these features as it was quite fun :) Retro Guy -- Posted on Rocksolid Light news.novabbs.org
Technical Details
Message-ID:
<19fddbdc3def82d96a129c7b7eab383a$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!i2pn2.org!i2pn.org!rocksolid2!.POSTED.localhost!not-for-mailReferences:
<ab8c5fa4037a3595e0f30ad1a526fc54$1@news.novabbs.org> <5c54a78607c9145ca4bf48d69ffc72a9@def4>Show Full Headers
Complete Article Headers
Message-ID: <19fddbdc3def82d96a129c7b7eab383a$1@news.novabbs.org> Subject: Re: sqllite, huh ? Date: Fri, 8 Jan 2021 07:04:18 +0000 From: retro.guy@rocksolidbbs.com (Retro Guy) References: <ab8c5fa4037a3595e0f30ad1a526fc54$1@news.novabbs.org> <5c54a78607c9145ca4bf48d69ffc72a9@def4> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!i2pn.org!rocksolid2!.POSTED.localhost!not-for-mail Newsgroups: rocksolid.nodes Organization: Rocksolid Light Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: novabbs.org; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1"; logging-data="4549"; mail-complaints-to="usenet@novabbs.org" User-Agent: Rocksolid Light (news.novabbs.com/getrslight) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org X-Rslight-Site: $2y$10$/y79oWUWnM5NJZHhcnvXyuQKLFI64YP1/NDjRd.6gl7VdV8Bamhwq