🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73058

Re: Full text search for NNTP server

#73058
From: aioe
Date: Thu, 12 Jan 2006 10:25
38 lines
2516 bytes
On Fri, 06 Jan 2006 16:52:58 +0100, franck wrote:

> Is there any software to allow a full text search (including BODY) on
> local newsgroups through HTTP?

you could use a search engine like mnogosearch (see
http://www.mnogosearch.org/ ) or aspseek (http://www.aspseek.org)

mnogosearch directly supports the NNTP: you should only fill indexer.conf
with the right parameters than start the indexer. 

this method is easy to set up but the indexer (see indexer(1)) becomes
slow when the new articles exceeds a few hundreds per time; on the other
hand, in this way the nntp site could be located on an host different than
the one used by the search engine.

innd can be configured to store each article as a single file and each
group as single directory (see storage method: tradspool, storage.conf(5)).
mnogosearch is able to index every local file and there is an option that
allows to assign a virtual url to each local document (see indexer.conf(5))

An example, could be this (on a single line)

server allow path news://news.aioe.org/cybernet.taz.ordanomade/
file:///var/spool/news/articles/cybernet.taz.ordanomade/

the local file /var/spool/news/articles/cybernet.taz.ordanomade/1 will be
indexed as news://news.aioe.org/cybernet.taz.ordanomade/1 which is a valid
url.

using this way, you'll need to deeply modify the results template
(search.htm)

-- 
Avrei voluto una rivoluzione,
per il momento,
faccio movimento per il Movimento
(Assalti Frontali, In movimento)
Technical Details
Message-ID: <pan.2006.01.12.10.25.22.182202@aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.newsland.it!ilaria.aioe.org!aioe.org!not-for-mail
References: <43be9391$1@epflnews.epfl.ch>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2006.01.12.10.25.22.182202@aioe.org>
Subject: Re: Full text search for NNTP server
Date: Thu, 12 Jan 2006 11:25:22 +0100
From: aioe <estasi@aioe.org>
References: <43be9391$1@epflnews.epfl.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.newsland.it!ilaria.aioe.org!aioe.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Aioe.org
Lines: 38
NNTP-Posting-Host: bixaYxgyfxJEMLsbI3A5jg.user.domitilla.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))