🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
37 messages
37 total messages Started by Etienne Gauthier Tue, 17 Aug 1999 00:00
Message search tool
#39226
Author: Etienne Gauthier
Date: Tue, 17 Aug 1999 00:00
31 lines
2060 bytes
Hi all,

  I'm currently looking for tools for our internal news server. There
are a lot of tools around there, but I can't find any search tools. I've
read RFC 850 and 977, but didn't find any standard stuff about search.

  What I need would be something like this :

- Be able to search with various criteria (author, date, object ... and
body), but within one newsgroup, at first.
- Be able to let the server do the search ... online or offline,
depending on the time. As an evidence, this is to avoid to download all
messages through the network.
- Be able to search ... within the newsreader (hum hum ?). Netscape
offers a search, but only within 'object' and 'author' fields (and I
think it works only with downloaded message headers). If it is not
possible, a perl script could do the trick. But it would then be
necessary to use another tool than the newsreader to do the search,
which is not simple to all users. Thus, the search would perhaps not be
used...
- Perhaps extend the search to more than one newsgroups... A dream ?

  If such a tool exists (even in 'beta' version), I'd be glad to get a
link to it. If not, I'll first begin to think about it, before asking
some more questions here (as I'm currently new to this kind of
stuff...).

Etienne

Re: Message search tool
#39223
Author: Etienne Gauthier
Date: Tue, 17 Aug 1999 00:00
49 lines
2585 bytes

Hi again,

  I've just come across some messages about a NNTP extension : SEARCH :
http://www.academ.com/academ/nntp/extensions/00252.html

  It seems it should do what I was looking for. But this message is more
than one year and a half old, and I don't find any word about it in INN
2.2 documentation ...

  Is the SEARCH extension still in progress ?

Etienne



Etienne Gauthier a �crit :
> 
> Hi all,
> 
>   I'm currently looking for tools for our internal news server. There
> are a lot of tools around there, but I can't find any search tools. I've
> read RFC 850 and 977, but didn't find any standard stuff about search.
> 
>   What I need would be something like this :
> 
> - Be able to search with various criteria (author, date, object ... and
> body), but within one newsgroup, at first.
> - Be able to let the server do the search ... online or offline,
> depending on the time. As an evidence, this is to avoid to download all
> messages through the network.
> - Be able to search ... within the newsreader (hum hum ?). Netscape
> offers a search, but only within 'object' and 'author' fields (and I
> think it works only with downloaded message headers). If it is not
> possible, a perl script could do the trick. But it would then be
> necessary to use another tool than the newsreader to do the search,
> which is not simple to all users. Thus, the search would perhaps not be
> used...
> - Perhaps extend the search to more than one newsgroups... A dream ?
> 
>   If such a tool exists (even in 'beta' version), I'd be glad to get a
> link to it. If not, I'll first begin to think about it, before asking
> some more questions here (as I'm currently new to this kind of
> stuff...).
> 
> Etienne

Re: Message search tool
#39258
Author: Robin Wschód
Date: Wed, 18 Aug 1999 00:00
11 lines
1480 bytes
Tue, 17 Aug 1999 17:25:18 +0200, Etienne Gauthier <egauthie@capgemini.fr> napisa�(a):

>  I'm currently looking for tools for our internal news server. There
>are a lot of tools around there, but I can't find any search tools. I've
>read RFC 850 and 977, but didn't find any standard stuff about search.

you must have modern nntp server which support search command (it's extension proposed in draft by netscape and microsoft people) and good newsreader, it can be exchange+outlook or any ms newsserver with own reader, i didn't hear about clasic newsreader which support search command



Re: Message search tool
#39292
Author: Etienne
Date: Thu, 19 Aug 1999 00:00
28 lines
1970 bytes
Hi Robin,

  Thanks for your answer. I have to say that this is intended for an
entreprise internal news server, and most people use Internet Explorer.
If not, then Netscape is used.
  
  I've searched through INN 2.2 documentation, for the 'search' word.
But I didn't find anything about a search within the body of messages...

  Do you know where I could find info about this Search command ? or any
tool that could help me building something like that ?

Etienne



Robin Wsch�d a �crit :
> 
> Tue, 17 Aug 1999 17:25:18 +0200, Etienne Gauthier <egauthie@capgemini.fr> napisa�(a):
> 
> >  I'm currently looking for tools for our internal news server. There
> >are a lot of tools around there, but I can't find any search tools. I've
> >read RFC 850 and 977, but didn't find any standard stuff about search.
> 
> you must have modern nntp server which support search command (it's extension proposed in draft by netscape and microsoft people) and good newsreader, it can be exchange+outlook or any ms newsserver with own reader, i didn't hear about clasic newsreader which support search command

Re: Message search tool
#39320
Author: Si
Date: Sat, 21 Aug 1999 00:00
52 lines
3306 bytes
Russ Allbery <rra@stanford.edu> wrote in message
news:yld7whfjbo.fsf@windlord.stanford.edu...
> It's been fairly well-established that this is a really dumb idea for a
> news server carrying a full feed, unless you custom-modify the database
> engine specifically for Usenet.  You won't be able to keep up with the
> traffic.

I was thinking of directing this idea of search at certain groups that are
more 'abstact', like some of the programming ones where people tend to go to
certain answers to questions, rather than read all the postings. As you say,
keeping up with the traffic on the entire USENET would be a rather difficult
task, but in certain situations, maybe .. ..

> It's also not at all clear to me that SQL is the query language that you'd
> want for a Usenet search, since when searching article bodies, you want a
> lot of fuzzy textual search specifications that I didn't believe were part
> of SQL.

SQL does provide you with pattern matching, but as you point out, it would
not allow for 'fuzzy', or AI 'intellegent-style' searching. I have been
using SQL as it's available on any decent database, and also for simplicity
in demonstating what can be acieved with 'off the shelf' software and
techniques.

Yes, ideally some form of 'intellegent' search would be much preferable, but
then this means much more would be needed than just a server attached to a
database.

> I think you're looking at this from the completely wrong perspective.  Why
> should every news server on earth provide a complex article storage
> mechanism designed to handle arbitrary searches when the average news
> operation is not a search?  The vast majority of Usenet users *read*
> Usenet, not *search* Usenet, and the ones who only want to search are
> welcome to use Deja News's facilities.

As mentioned earlier, this idea would be perhaps best aimed at certain types
of newsgroups, but I still think that seeming as though it has been proposed
(in the new NNTP draft proposals) a pattern matching keyword for selecting
groups, why not for articles too? Deja News is a great place for searching
through old articles etc., but surely it is doing a job that NNTP should be
addressing itself.

Thanks for your thought there, it's good to get other peoples
ideas/suggestions. It all goes to making a better thesis!

    Si.




Re: Message search tool
#39321
Author: Si
Date: Sat, 21 Aug 1999 00:00
40 lines
2784 bytes
I'm currently writing a thesis which includes a large section on the Network
News Transfer Protocol, and the direction in which it is taking with the new
proposed IEFT draft.

Still though, there has been no inclusion of a SEARCH type keyword, which is
ver annoying. (It's good to see that the LIST keywords have been extended to
allow refinement in which group lists are received from the server)

 Part of the thesis is aimed at demonstrating the ease at which a news
server can be directly connected to practically any database that has JDBC
or ODBC support (Oracle, Ingress, Access etc.) for the storage of the
articles, and by utilising SQL one can perform searches and queries on the
stored data very quickly. This opens up a very powerful system that would
allow users to use the Usenet as an information source not to different from
a library, whereby one can easily retrieve information on certain topics as
defined by keywords and patterns. This is of interest to me especially in
the programming newsgroups for example, where getting the information you
want can be particularly difficult due to the volume and diversity contained
within. I know there are services such as Deja News that allow you to do
this sort of thing, but only because of the short-fallings in the NNTP
standard.

 This research is being developed in JAVA (for rapid development and
portability), utilising JDBC drivers to access the database, and has proved
to be quite successful so far. It is only a research project though, so I
have no plans for a release version (yet!).

 If I could ask some of you like-minded people what you think about these
research areas of NNTP with any thoughts/discussions/questions, it would be
very welcome (and would make my thesis that little more interesting !!)

 Thanks for your time in reading this,

  Simon C Smith.

   personal e-mail: simon_c_smith@bigfoot.com



Re: Message search tool
#39323
Author: Russ Allbery
Date: Sat, 21 Aug 1999 00:00
56 lines
3306 bytes
Si <simon_c_smith@bigfoot.com> writes:

> Still though, there has been no inclusion of a SEARCH type keyword,
> which is ver annoying. (It's good to see that the LIST keywords have
> been extended to allow refinement in which group lists are received from
> the server)

Such an extension has been proposed.  I think I've seen the I-Ds for it.
IIRC, several of the authors were from Microsoft.  I didn't pay much
attention to it, as I have little desire to run such a thing on my news
servers.

> Part of the thesis is aimed at demonstrating the ease at which a news
> server can be directly connected to practically any database that has
> JDBC or ODBC support (Oracle, Ingress, Access etc.) for the storage of
> the articles, and by utilising SQL one can perform searches and queries
> on the stored data very quickly.

It's been fairly well-established that this is a really dumb idea for a
news server carrying a full feed, unless you custom-modify the database
engine specifically for Usenet.  You won't be able to keep up with the
traffic.

It's also not at all clear to me that SQL is the query language that you'd
want for a Usenet search, since when searching article bodies, you want a
lot of fuzzy textual search specifications that I didn't believe were part
of SQL.

> This opens up a very powerful system that would allow users to use the
> Usenet as an information source not to different from a library, whereby
> one can easily retrieve information on certain topics as defined by
> keywords and patterns.

If you're trying to construct a knowledge base, why are you starting from
a paradigm of open and wandering discussion threads within seperate and
coexisting posting cultures?  This doesn't strike me as a particularly
useful approach.

> This is of interest to me especially in the programming newsgroups for
> example, where getting the information you want can be particularly
> difficult due to the volume and diversity contained within. I know there
> are services such as Deja News that allow you to do this sort of thing,
> but only because of the short-fallings in the NNTP standard.

I think you're looking at this from the completely wrong perspective.  Why
should every news server on earth provide a complex article storage
mechanism designed to handle arbitrary searches when the average news
operation is not a search?  The vast majority of Usenet users *read*
Usenet, not *search* Usenet, and the ones who only want to search are
welcome to use Deja News's facilities.  That's not what my news server is
for.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39357
Author: bert hubert
Date: Mon, 23 Aug 1999 00:00
20 lines
1574 bytes
On 23 Aug 1999 16:06:53 -0500, Joe Greco wrote:

>I have yet to see a SQL database application with reasonable hardware 
>requirements that can keep up with 10-20 articles per second, maintain 
>ten million articles, and automatically expire old ones and do other
>such maintenance automatically.

MySQL will come closest I think. I maintain a MySQL database with >10Mrows
which often does more than 20 operations/second (read/write).

Regards,

bert hubert.

-- 
    Delft University   |   Absoluut geen woordvoerder van Casema. Gewoon
     of Technology,    |               niet geloven wat ik zeg.
 Department of Physics |          Inspice et cautus eris - D11T'95

Re: Message search tool
#39364
Author: Brad Knowles
Date: Mon, 23 Aug 1999 00:00
45 lines
3163 bytes
In article <7pm4qa$l11$1@news8.svr.pol.co.uk>, "Si"
<simon_c_smith@bigfoot.com> wrote:

> I was thinking of directing this idea of search at certain groups that are
> more 'abstact', like some of the programming ones where people tend to go to
> certain answers to questions, rather than read all the postings. As you say,
> keeping up with the traffic on the entire USENET would be a rather difficult
> task, but in certain situations, maybe .. ..

    Well, throw out all the binaries, and instead of having to keep up
with 50GB per day, you're only looking at 1GB/day.  That's still probably
something like 950,000 articles per day, however.

> SQL does provide you with pattern matching, but as you point out, it would
> not allow for 'fuzzy', or AI 'intellegent-style' searching. I have been
> using SQL as it's available on any decent database, and also for simplicity
> in demonstating what can be acieved with 'off the shelf' software and
> techniques.

    Full-text indexes are a step towards what you want, but a USENET
extension is not necessary.  You just want to build a custom back-end
interface to a system that implement NNTP and suck all this stuff down
(for particular newsgroups) and store it in a sensible fashion.

    The problem is that you want to be able to do scoring, fuzzy searches
(including allowance for mis-spellings or mis-capitalization), and a whole
bunch of other things that start looking like the "Topic" database system
from Verity (the name of the product has almost certainly changed
immeasurably since I worked with it in 1990, but at least Verity is still
in business.  See <http://www.verity.com/> for more info).

> Yes, ideally some form of 'intellegent' search would be much preferable, but
> then this means much more would be needed than just a server attached to a
> database.

    Correct.  But without this, you might as well just run "glimpse"
across the entire USENET newsfeed, as I think it would be more useful to
your users than something like SQL, which was *not* intended for this kind
of use.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: Message search tool
#39366
Author: Joe Greco
Date: Mon, 23 Aug 1999 00:00
29 lines
2107 bytes
In news.software.nntp article <7ps4ni$p12$2@news6.svr.pol.co.uk>, "Si" <simon_c_smith@bigfoot.com> wrote:
:
:Etienne <etienne@nospam.fr> wrote in message
:news:37C10DEC.126CCE3E@nospam.fr...
:>   I don't know if using a database is really the best idea. It would be
:> easier to handle the search. But, it is then necessary to build a new
:> newsserver, or to store each article two times : within the newsserver,
:> and then copy it to the database...
:
:    My ideas were centered around the newsserver storing the articles within
:a database itself, then reteiving the articles, and executing searches via
:queries to the database (hence the SQL stuff).
:
:>   Too allow a really quicker search, with a low charge, I think the only
:> way is to use Full Text search. SQL don't offer this.
:
:    There is the 'LIKE' SQL command, used with the database idea proposed
:above, would allow full text search. The way the database stores and indexes
:the information would then determine the 'overhead' time of doing such
:searches.

I have yet to see a SQL database application with reasonable hardware 
requirements that can keep up with 10-20 articles per second, maintain 
ten million articles, and automatically expire old ones and do other
such maintenance automatically.

... JG

Re: Message search tool
#39369
Author: Si
Date: Mon, 23 Aug 1999 00:00
46 lines
3335 bytes
Brad Knowles <brad@shub-internet.org> wrote in message
news:brad-2308991411150001@brad.techos.skynet.be...
>     Well, throw out all the binaries, and instead of having to keep up
> with 50GB per day, you're only looking at 1GB/day.  That's still probably
> something like 950,000 articles per day, however.

    The idea is really only implementable with a reduced number of groups as
you say, but even from your refined groups (after binaries) others could be
removed to leave a specific sub-set of groups. OK, so this solution would
not cover the whole USENET, but a 'specialised' server could provide the
service for only certain groups at the admin's discretion.
    This does leave the service away from the masses in the USENET as a
whole, and would probably be best suited to intranet projects (I know of a
tech-support company that utilises a news system for posting solutions to
problems etc. that is crying out for greater search capabilities) but
'public' services would also be useful too.

>     Full-text indexes are a step towards what you want, but a USENET
> extension is not necessary.  You just want to build a custom back-end
> interface to a system that implement NNTP and suck all this stuff down
> (for particular newsgroups) and store it in a sensible fashion.

    By having the server attached to the database (ie, the articles are
stored within the database, and retreived via query) it would be pre-stored,
and available for searching without the need for a back-end service - it
would be available straight away.
    If you actually meant that you would implement a system that would
simply be bolted onto existing NNTP servers, then you would surely loose
power and speed having to 'go around' the current NNTP server. Databases are
there to allow access to masses of data in a coherent fashion, and I suspect
have the best information-retreival techniques around.
    The SQL question (is it suiable/fesable) is quite interesting, but there
is probably more power to using a database for information retreival than
simple SQL stuff (indexing for faster searches etc.)

    This is turning out to be quite an interesting discussion, as I have no
experiance in actually running/managing news servers, just information from
research etc.

    Si.




Re: Message search tool
#39374
Author: Etienne
Date: Mon, 23 Aug 1999 00:00
112 lines
5941 bytes
Hi,


  I think that your point a vue is logical within a full feed news
server. But NNTP can be use for other things. For instance, I'm building
an internal newsserver, within my entreprise (IT services). There will
be technical newsgroups, and specific newsgroups for some wide projects,
for instance.
  In both kind of newsgroup, a big amount of knowledge would be stored
there. What is the use of this knoledge if you can't search within it ?

  SEARCH is quite a necessity within this kind of news server ...


And ... Please see below


Russ Allbery a �crit :
> 
> Si <simon_c_smith@bigfoot.com> writes:
> 
> > Still though, there has been no inclusion of a SEARCH type keyword,
> > which is ver annoying. (It's good to see that the LIST keywords have
> > been extended to allow refinement in which group lists are received from
> > the server)
> 
> Such an extension has been proposed.  I think I've seen the I-Ds for it.
> IIRC, several of the authors were from Microsoft.  I didn't pay much
> attention to it, as I have little desire to run such a thing on my news
> servers.

  For sure, IMHO, this should be an option, with no as a default value.

> 
> > Part of the thesis is aimed at demonstrating the ease at which a news
> > server can be directly connected to practically any database that has
> > JDBC or ODBC support (Oracle, Ingress, Access etc.) for the storage of
> > the articles, and by utilising SQL one can perform searches and queries
> > on the stored data very quickly.


  I don't know if using a database is really the best idea. It would be
easier to handle the search. But, it is then necessary to build a new
newsserver, or to store each article two times : within the newsserver,
and then copy it to the database... 

  Too allow a really quicker search, with a low charge, I think the only
way is to use Full Text search. SQL don't offer this. But various tools
give extension that allow this. The charge is really low, as reverse
index are built : as a first description, you store, for each word,
which articles that contains it. Then, you seach within a table that
contains only a 'few' lines that contains the root (? translation : I
mean the base of the worls, as foot and feet are the same 'root' : they
are two versions of the word 'foot') of each kind of word. In this kind
of search, a godd database could handle a high number of simultaneous
search (not everyone will search at the same time).

> [Cut]
> 
> > This opens up a very powerful system that would allow users to use the
> > Usenet as an information source not to different from a library, whereby
> > one can easily retrieve information on certain topics as defined by
> > keywords and patterns.
> 
> If you're trying to construct a knowledge base, why are you starting from
> a paradigm of open and wandering discussion threads within seperate and
> coexisting posting cultures?  This doesn't strike me as a particularly
> useful approach.

  The problem is to build this knowledge base. If people ask and answer
questions, this is qui a big, and unformatted FAQ (sort of ....). At
least, this contains a lot of data.
  Currently, as it is impossible with standard newsreader to do a
powerful search on newsgroups (out of dejanews, for instance), people
always ask the same questions ... Isn't this a load too ?

> 
> > This is of interest to me especially in the programming newsgroups for
> > example, where getting the information you want can be particularly
> > difficult due to the volume and diversity contained within. I know there
> > are services such as Deja News that allow you to do this sort of thing,
> > but only because of the short-fallings in the NNTP standard.
> 
> I think you're looking at this from the completely wrong perspective.  Why
> should every news server on earth provide a complex article storage
> mechanism designed to handle arbitrary searches when the average news
> operation is not a search?  The vast majority of Usenet users *read*
> Usenet, not *search* Usenet, and the ones who only want to search are
> welcome to use Deja News's facilities.  That's not what my news server is
> for.

  IMHO, Yes and no. This seems quite Ok to me, for public newsgroups.
But, for instance for technical newsgroup, it would be nice to be able
to search within the newsgroup. For instance, do a full search for an
Oracle error number, would give a lot of artcles that deals with this.
  I have to say that, to be useful, this means to save a complete (or at
list 'big') history. This means a lot of hard drive.

  But NNTP servers are more and more used for internal newsgroups. And
there, search is really an important feature.


Etienne Gauthier
Please answer to : egauthie@capgemini.fr


NB: This is an intersting discussion (not a joke, I mean it), but I
still need to implement such a search. Does any one have a tool ... or a
beginning of tool ?

Re: Message search tool
#39377
Author: Si
Date: Mon, 23 Aug 1999 00:00
53 lines
3334 bytes
Etienne <etienne@nospam.fr> wrote in message
news:37C10DEC.126CCE3E@nospam.fr...
>   I don't know if using a database is really the best idea. It would be
> easier to handle the search. But, it is then necessary to build a new
> newsserver, or to store each article two times : within the newsserver,
> and then copy it to the database...

    My ideas were centered around the newsserver storing the articles within
a database itself, then reteiving the articles, and executing searches via
queries to the database (hence the SQL stuff).

>   Too allow a really quicker search, with a low charge, I think the only
> way is to use Full Text search. SQL don't offer this.

    There is the 'LIKE' SQL command, used with the database idea proposed
above, would allow full text search. The way the database stores and indexes
the information would then determine the 'overhead' time of doing such
searches.

>   IMHO, Yes and no. This seems quite Ok to me, for public newsgroups.
> But, for instance for technical newsgroup, it would be nice to be able
> to search within the newsgroup. For instance, do a full search for an
> Oracle error number, would give a lot of artcles that deals with this.
>   I have to say that, to be useful, this means to save a complete (or at
> list 'big') history. This means a lot of hard drive.

    Indeed, but when on restricted to only groups that would need such a
search (like the Oracle errors etc.) it may be reduced. The large storage
space needed would be reflected in the usefulness of the data held witin
though .. ..

>   But NNTP servers are more and more used for internal newsgroups. And
> there, search is really an important feature.

    I'm glad you think it would be a good idea !! I don't run a news server
or anything, but rather i'm reseaching about them and their limitations -
with a view of solving some of issues raised. The one i'm dealing with is
that of text search, and the database method proves successful, but with the
power comes the overhead of storage and information retreival methods.

> NB: This is an intersting discussion (not a joke, I mean it), but I
> still need to implement such a search. Does any one have a tool ... or a
> beginning of tool ?

    Only the research model i'm working on at the moment (see my original
posting).. ..

    Si.



Re: Message search tool
#39380
Author: Brad Knowles
Date: Tue, 24 Aug 1999 00:00
29 lines
2468 bytes
In article <7ps4nh$p12$1@news6.svr.pol.co.uk>, "Si"
<simon_c_smith@bigfoot.com> wrote:

>     By having the server attached to the database (ie, the articles are
> stored within the database, and retreived via query) it would be pre-stored,
> and available for searching without the need for a back-end service - it
> would be available straight away.

    What I meant by "back-end" was that the articles were being stored
directly into the database and not in the news server as well as being
added to the database.  Thus, you have a front-end that handles the NNTP
protocol, and stores the articles into the database back-end.

>     If you actually meant that you would implement a system that would
> simply be bolted onto existing NNTP servers, then you would surely loose
> power and speed having to 'go around' the current NNTP server. Databases are
> there to allow access to masses of data in a coherent fashion, and I suspect
> have the best information-retreival techniques around.

    I wasn't thinking about bolting this onto an existing server, although
that might technically be possible.  If you're talking about completely
re-implenting the manner in which the articles are stored, you'll probably
need to completely re-implement the way the NNTP protocol is handled, too.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: Message search tool
#39381
Author: bill davidsen
Date: Tue, 24 Aug 1999 00:00
84 lines
5286 bytes
In article <7pm2q9$jci$1@news8.svr.pol.co.uk>,
Si <simon_c_smith@bigfoot.com> wrote:
| I'm currently writing a thesis which includes a large section on the Network
| News Transfer Protocol, and the direction in which it is taking with the new
| proposed IEFT draft.
| 
| Still though, there has been no inclusion of a SEARCH type keyword, which is
| ver annoying. (It's good to see that the LIST keywords have been extended to
| allow refinement in which group lists are received from the server)

And hopefully SEARCH will continue to be ignored, or at least unloved.

What we have here is a protocol which is reasonably well suited to its
intended task, and which make some cost effective distributions of
overhead between the clients (many) and the servers (hopefully few).

Now people are trying to use the protocol for other things and finding
that it is not a perfect fit. So they want to generate changes and
additions to make it more suited to their purpose, at the expense of
adding features which greatly alter the balance of client and server
overhead.

I haighly commend going off and generating your own protocol, using nntp
as a basis or inspiration, rather than adding server features which,
like NEWNEWS, are likely to go unimplemented, poorly implemented for the
sake of completeness, and which are likely to be disabled at many news
sites.

|  Part of the thesis is aimed at demonstrating the ease at which a news
| server can be directly connected to practically any database that has JDBC
| or ODBC support (Oracle, Ingress, Access etc.) for the storage of the
| articles, and by utilising SQL one can perform searches and queries on the
| stored data very quickly. This opens up a very powerful system that would
| allow users to use the Usenet as an information source not to different from
| a library, whereby one can easily retrieve information on certain topics as
| defined by keywords and patterns. This is of interest to me especially in
| the programming newsgroups for example, where getting the information you
| want can be particularly difficult due to the volume and diversity contained
| within. I know there are services such as Deja News that allow you to do
| this sort of thing, but only because of the short-fallings in the NNTP
| standard.

No. I know of two software development shops which tried to do something
like what Deja provides, and who concluded that the resources needed
were vastly more than a news server handling comparable volume, and that
it was not sensible to do this as any form of enhancement to existing
news servers.

|  This research is being developed in JAVA (for rapid development and
| portability), utilising JDBC drivers to access the database, and has proved
| to be quite successful so far. It is only a research project though, so I
| have no plans for a release version (yet!).
| 
|  If I could ask some of you like-minded people what you think about these
| research areas of NNTP with any thoughts/discussions/questions, it would be
| very welcome (and would make my thesis that little more interesting !!)

I think that the features which would make searches most useful also
take a lot more server resources than current news, and that most
readers don't need it. Rather than try to change or extend nntp in this
way, you can get a better fit to the problem by either (a) developing a
new and similar protocol and set of servers to use it, or (b) develop
your own interface using the keyword generation interface and create
better keywords.

Or finally, have a preprocessor generate special local newsgroup names
and then feed the result into a standard news server, retrieving by
custom group name and then keywords. I proposed this for saving realtime
reports into an MIS system, to handle a high volume problem.

I don't think the things most useful to you belong in traditional news
at all, and rather than risk a dilution of the existing protocol by
adding features which current users won't find supportable, a separate
protocol with all the database stuff you want seems preferable. Full
text search is not practical on a news feed, even with a VERY large
database engine.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: Message search tool
#39382
Author: Etienne
Date: Tue, 24 Aug 1999 00:00
51 lines
3052 bytes
Hi,

Joe Greco a �crit :
> 
> In news.software.nntp article <7ps4ni$p12$2@news6.svr.pol.co.uk>, "Si" <simon_c_smith@bigfoot.com> wrote:
> 
> I have yet to see a SQL database application with reasonable hardware
> requirements that can keep up with 10-20 articles per second, maintain
> ten million articles, and automatically expire old ones and do other
> such maintenance automatically.


  This really not a trouble. I've seen Oracle running against 4000
connected users, with SAP transactions. I have to say that this means
quite powerful computers, but this kind of transactions is much more
complex than what should be done there : just query one big table. I've
worked with databases that contains one table of more than 30 millions
lines. No troubles.
  And full text search are often used to search within all articles of a
given newspaper since it has been created.

  Allow full text search on a full feed is possible, dejanews is a
probe, isn't it ?

Now, you react on what you are currently doing : full feed. NNTP is a
standard that could be used for something else than a full feed.
  It's a powerful and convenient way to collect knowledge, within an
enterprise, and allow people too far away to discuss. This allow
expertise (translation ?) to spread among the enterprise (what a
sentence :-) .. but I mean it). IMHO, to be really useful, this means :
- Use of open standards (even for internal newsgroups),
- All functionalities within the news reader.
- Allow search.

  A lot of tools allow search within newsgroup. But with specific
implementations, like HyperNews and a lot of other similar tools. We
would like to use NNTP ... but we need the search functionality ...

  IMHO, this would mean, from the news reader :
- Be able to query the possible search criteria (eg: newsgroup(s),
object, author, date, body...). If search is not allowed, then no
criteria would be possible.
- Be able to send the search command to the newsserver.
- And, quite useful :-) , be able to look at the result...


Etienne Gauthier
egauthie@capgemini.fr

Re: Message search tool
#39388
Author: Brad Knowles
Date: Tue, 24 Aug 1999 00:00
60 lines
3843 bytes
In article <37C24A83.3DAD365B@nospam.fr>, Etienne <etienne@nospam.fr> wrote:

>   This really not a trouble. I've seen Oracle running against 4000
> connected users, with SAP transactions. I have to say that this means
> quite powerful computers, but this kind of transactions is much more
> complex than what should be done there : just query one big table. I've
> worked with databases that contains one table of more than 30 millions
> lines. No troubles.

    I don't think you want all this stuff in one big table.  If you're
talking about making USENET searchable, and handling 10-20 new articles
per second, then you're also probably talking about archiving it for a
significant period of time, and almost one million new articles per day
can rapidly explode into tens of millions or hundreds of millions of
articles that have to be stored, indexed, and searchable over a long
period of time.

    While the transaction rates themselves wouldn't necessarily be a
problem on sufficiently powerful distributed database systems, the result
would be extremely expensive.  There's no sense in buying dozens of Tandem
Himalaya or DECompaq Alpha 8000 servers that are big enough to handle the
full daily transactional load of the world's largest airline ticket
reservation system, if all you're going to do is search USENET news.

>   Allow full text search on a full feed is possible, dejanews is a
> probe, isn't it ?

    I don't think you want to use dejanews as a model.  They keep stuff
online for months and months, and the key to making it work is all custom
software where each month's worth of news is stored on separate servers,
so that searches over a long period of time can be done in parallel across
multiple machines.

    In addition, they have to do it as cheaply as possible, since the
operation doesn't pay very well.  This is why they're trying to expand
into becoming an entire "online community" of their own, separate and
distinct from USENET news.

> - Use of open standards (even for internal newsgroups),
> - All functionalities within the news reader.
> - Allow search.

    If you cut things down to internal newsgroups only, the volumes become
almost trivial (relatively speaking), and you could even do things like
glimpse searches of the spool.

    But how are you going to integrate this kind of functionality into the
news reader?  What newsreaders support any kind of a "search" capability?


    Once you get to this sort of a model, you're basically talking about a
distributed knowledge base (distributed both in terms of time and in terms
of who knows what), and I think there are better tools for that than
trying to bolt something on to allow you to search an internal newsgroup.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: Message search tool
#39392
Author: Russ Allbery
Date: Tue, 24 Aug 1999 00:00
25 lines
1793 bytes
bert hubert <ahu@casema.net> writes:
> On 23 Aug 1999 16:06:53 -0500, Joe Greco wrote:

>> I have yet to see a SQL database application with reasonable hardware
>> requirements that can keep up with 10-20 articles per second, maintain
>> ten million articles, and automatically expire old ones and do other
>> such maintenance automatically.

> MySQL will come closest I think. I maintain a MySQL database with
> >10Mrows which often does more than 20 operations/second (read/write).

Which, read or write?  What's the balance, and how much data is being
written?  Remember, with a news server, that's 20 *writes* per second, not
20 *operations* per second; the reads are on top of that (and writes are
normally slower).  Plus, that's 4KB or so of data per write, which is
pretty large.

Now that's for a full feed.  For a set of internal groups, the problem is
much easier, much more approachable, and any database would probably be
able to handle it with acceptable performance.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39396
Author: Russ Allbery
Date: Tue, 24 Aug 1999 00:00
26 lines
2086 bytes
Si <simon_c_smith@bigfoot.com> writes:
> Brad Knowles <brad@shub-internet.org> wrote:

>> I wasn't thinking about bolting this onto an existing server, although
>> that might technically be possible.  If you're talking about completely
>> re-implenting the manner in which the articles are stored, you'll
>> probably need to completely re-implement the way the NNTP protocol is
>> handled, too.

> That was the idea, or rather, the simplest idea - just store the
> articles in a different manner to the way they are now. OK, so there
> would be extra overhead, but the power that would come with that .. ..

FWIW, this is exactly why INN has a storage API.  If you can implement
your database article store in a fashion in which it can fulfill INN's
storage API, you can plug it directly into an existing INN server and use
that as proof of concept, without having to reimplement all the other NNTP
pieces yourself.  You'd have to use a separate interface to do the
searches, and for long-term performance you'd probably want to rewrite at
least parts of the server, but you can get up and running pretty fast that
way.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39399
Author: bill davidsen
Date: Tue, 24 Aug 1999 00:00
34 lines
2432 bytes
In article <37C2BDE7.857C1489@nospam.fr>, Etienne  <etienne@nospam.fr> wrote:

|   For sure, the only way to achive a high number of hit is to separate
| newsgroups, one table for each. Now, I just wanted to show that a high
| number of articles is not really a trouble.

I think you are looking at the wrong end of the problem. If you accept
only a fairly limited feed, text only, you still get order of 5GB/day of
data in about 600k articles. The problem is not in the looking up stuff
in a database, it is in creating the indices in the first place, even in
a severely limited dataset.

Now make some optimistic assumptions on what you need to index... you
get about 57870 bytes/sec, and let's assume that you find half is header
and average word length is six bytes including spacing. That's at least
4800 words per second you have to evaluate and possibly index. Going to
index on phrases? Add more overhead. You are going to need on seriously
ass-kicking database here, as others have found.

Feel free to disagree with my figures, or show me how you can run that
on free software and $2k PC, I'd love to see that this is remostly
feasible.

BTW: if anyone would like to talk about the keyword stuff in inn-2.x,
maybe we could start a new thread. I'd love to hear from anyone who did
more than a quick look at the auto generation of keywords.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: Message search tool
#39400
Author: Russ Allbery
Date: Tue, 24 Aug 1999 00:00
15 lines
1289 bytes
Brad Knowles <brad@shub-internet.org> writes:

> But how are you going to integrate this kind of functionality into the
> news reader?  What newsreaders support any kind of a "search"
> capability?

The obvious way to do it is with a web browser.  Your results page is a
set of URLs, either to a news to web gateway or to the actual article if
you want people to just use Netscape's built-in news reader to read it.
Your search interface is a CGI script.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39402
Author: Si
Date: Tue, 24 Aug 1999 00:00
17 lines
1740 bytes
Brad Knowles <brad@shub-internet.org> wrote in message
news:brad-2408991246180001@brad.techos.skynet.be...
>     I wasn't thinking about bolting this onto an existing server, although
> that might technically be possible.  If you're talking about completely
> re-implenting the manner in which the articles are stored, you'll probably
> need to completely re-implement the way the NNTP protocol is handled, too.

    That was the idea, or rather, the simplest idea - just store the
articles in a different manner to the way they are now. OK, so there would
be extra overhead, but the power that would come with that .. ..

    Si.



Re: Message search tool
#39403
Author: Etienne
Date: Tue, 24 Aug 1999 00:00
116 lines
6223 bytes
Hi

Brad Knowles a �crit :
> 
> In article <37C24A83.3DAD365B@nospam.fr>, Etienne <etienne@nospam.fr> wrote:
> 
> >   This really not a trouble. I've seen Oracle running against 4000
> > connected users, with SAP transactions. I have to say that this means
> > quite powerful computers, but this kind of transactions is much more
> > complex than what should be done there : just query one big table. I've
> > worked with databases that contains one table of more than 30 millions
> > lines. No troubles.
> 
>     I don't think you want all this stuff in one big table.  If you're

  For sure, the only way to achive a high number of hit is to separate
newsgroups, one table for each. Now, I just wanted to show that a high
number of articles is not really a trouble.
  But I don't know, when running under a heavy load, if a good database
behave better or not than a good OS, especially when expiring would put
some 'holes' within the tables.
  Personnaly, I woudl not use a database there. But that's just my
opinion, without any comparison.

> talking about making USENET searchable, and handling 10-20 new articles
> per second, then you're also probably talking about archiving it for a
> significant period of time, and almost one million new articles per day
> can rapidly explode into tens of millions or hundreds of millions of
> articles that have to be stored, indexed, and searchable over a long
> period of time.

  Sure ...

> 
>     While the transaction rates themselves wouldn't necessarily be a
> problem on sufficiently powerful distributed database systems, the result
> would be extremely expensive.  There's no sense in buying dozens of Tandem
> Himalaya or DECompaq Alpha 8000 servers that are big enough to handle the
> full daily transactional load of the world's largest airline ticket
> reservation system, if all you're going to do is search USENET news.
> 
> >   Allow full text search on a full feed is possible, dejanews is a
> > probe, isn't it ?
> 
>     I don't think you want to use dejanews as a model.  They keep stuff
> online for months and months, and the key to making it work is all custom
> software where each month's worth of news is stored on separate servers,
> so that searches over a long period of time can be done in parallel across
> multiple machines.
> 
>     In addition, they have to do it as cheaply as possible, since the
> operation doesn't pay very well.  This is why they're trying to expand
> into becoming an entire "online community" of their own, separate and
> distinct from USENET news.

  I just talked about dejanews to say it's technicaly possible with a
full feed. But this is not what I want to do...

> 
> > - Use of open standards (even for internal newsgroups),
> > - All functionalities within the news reader.
> > - Allow search.
> 
>     If you cut things down to internal newsgroups only, the volumes become
> almost trivial (relatively speaking), and you could even do things like
> glimpse searches of the spool.

  Trivial : for sure  :-)    at least about the load of the server
But very useful.

> 
>     But how are you going to integrate this kind of functionality into the
> news reader?  What newsreaders support any kind of a "search" capability?

  That's my current trouble, and the main reason for my original posting
...

  I'm thinking to often posting a FAQ like message, that would (for
instance) just contain an URL of an HTML page that would do the search
(using a CGI). This should be easy on a one computer basis. But our news
server and mail server are different computer, as it should usually be.
  I didn't think more about it.
 
> 
>     Once you get to this sort of a model, you're basically talking about a
> distributed knowledge base (distributed both in terms of time and in terms
> of who knows what), and I think there are better tools for that than
> trying to bolt something on to allow you to search an internal newsgroup.

  Yes and No. The trouble is to store the knowledge. We have places to
do this. But this is an overload for people : once a project is ended,
they have to compile the information they learned there, and store it
within the knowledge base. And then, you have only a few informations
from people using the info you put there.

 A place where people ask questions and answer is actually a place where
knowledge exists. That's really the big point. A (more or less) huge sum
of detailed information.
  But it is quite hard to find information there.

  Just a sample, to prove (if necessary ..  :-)) the use of search
within newsgroup : I've just get a new laptop (Dell Lattitude CPt). I've
really fight against it to install Linux. Trouble with mouse, network
card and video card. I get no answer to my questions in newsgroups. But
I found the solution within dejanews : I've found links to web pages
where people explained how they successfully installer Linux on a
non-supported hardware.
  Even with this, it was not easy... But without ... I would have ask
for another computer.
(Ok, I could have ask before, but this is a long story ...)


Etienne

Re: Message search tool
#39404
Author: Russ Allbery
Date: Tue, 24 Aug 1999 00:00
50 lines
3170 bytes
Etienne <etienne@nospam.fr> writes:

> I think that your point a vue is logical within a full feed news
> server. But NNTP can be use for other things. For instance, I'm building
> an internal newsserver, within my entreprise (IT services). There will
> be technical newsgroups, and specific newsgroups for some wide projects,
> for instance.

Yeah, I do the same thing.

> In both kind of newsgroup, a big amount of knowledge would be stored
> there. What is the use of this knoledge if you can't search within it ?

Well, I disagree with the idea that existing news technology has no
searching capability.  A reasonable amount of searching technology has
been built into news readers since the early days of rn, and for most of
what you want to do it's plenty.  You can even do full-body article
searches.  It's just slow for lots of articles.

We have internal newsgroups for all sorts of things, and I search them on
a regular basis.  I use the standard search commands in my newsreader, or
I use grep directly on the news spool.

I'm not saying I don't see the point of a SEARCH command that uses indices
and in general does this in a faster and more systematic way, but I don't
think it's as widely applicable as any enterprise with internal groups.

> Too allow a really quicker search, with a low charge, I think the only
> way is to use Full Text search. SQL don't offer this. But various tools
> give extension that allow this. The charge is really low, as reverse
> index are built : as a first description, you store, for each word,
> which articles that contains it. Then, you seach within a table that
> contains only a 'few' lines that contains the root (? translation : I
> mean the base of the worls, as foot and feet are the same 'root' : they
> are two versions of the word 'foot') of each kind of word. In this kind
> of search, a godd database could handle a high number of simultaneous
> search (not everyone will search at the same time).

Basically, you just run Glimpse or some other standard search indexer on
the spool, and then provide some interface to that.  The returned article
numbers can be used with any news reader, and you can even provide links
if you wrap a web interface around it.

A really good reason to keep using traditional spool format for these
types of groups.  Much easier to do things like this.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39405
Author: Brad Knowles
Date: Tue, 24 Aug 1999 00:00
71 lines
4663 bytes
In article <37C2BDE7.857C1489@nospam.fr>, Etienne <etienne@nospam.fr> wrote:

>   For sure, the only way to achive a high number of hit is to separate
> newsgroups, one table for each. Now, I just wanted to show that a high
> number of articles is not really a trouble.
>   But I don't know, when running under a heavy load, if a good database
> behave better or not than a good OS, especially when expiring would put
> some 'holes' within the tables.

    It all depends on the database.  MySQL would be a particularly poor
choice for handling many tables, and doesn't scale well across multiple
machines.  Oracle Parallel Server works much better here.   But then it's
also a lot more expensive and requires a lot more of the hardware that's
running it.

>   I'm thinking to often posting a FAQ like message, that would (for
> instance) just contain an URL of an HTML page that would do the search
> (using a CGI). This should be easy on a one computer basis. But our news
> server and mail server are different computer, as it should usually be.
>   I didn't think more about it.

    If you're going to be doing anything remotely related to web pages,
why not just do a good web-conferencing system and then a real search
engine (such as Inktomi) across that intranet?

>   Yes and No. The trouble is to store the knowledge. We have places to
> do this. But this is an overload for people : once a project is ended,
> they have to compile the information they learned there, and store it
> within the knowledge base. And then, you have only a few informations
> from people using the info you put there.

    Yeah, but news is a poor way to archive that kind of information, and
it's a poor strainer through which to filter everything.  There are other
mediums that handle interactive real-time and non-real-time conferencing
much better.

>  A place where people ask questions and answer is actually a place where
> knowledge exists. That's really the big point. A (more or less) huge sum
> of detailed information.
>   But it is quite hard to find information there.

    Right, but you have to accurately encode all the information (which
news doesn't do), you have to store all that encoded knowledge somehow
(which news isn't great at), and then you have to index it all (which
simple SQL engines can't begin to approach, you really need full natural
language processing and intelligent inference engines such as used by
Google and Clever), so that you can intelligently search the knowledge
base and return only those hits that really are relevant, and not just the
ones that have the same words you're looking for that occur more often
than in any other article.

    When you get down to it, news is really just a content distribution
mechanism, and when you're talking about an intranet system like this, who
really needs to distribute the content?  Maybe you distribute the system
across multiple machines so that you can get load balancing,
fault-resilience, etc... but those are implementation details, not
strategic content distribution issues.

>   Even with this, it was not easy... But without ... I would have ask
> for another computer.

    Right, but you used DejaNews.  And you found the solution only barely
adequate at best.  Who wants to implement another DejaNews for intranets? 
You want a much better solution with much cheaper implementation
requirements, and news really just isn't the way to achieve those goals.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Re: Message search tool
#39407
Author: Russ Allbery
Date: Tue, 24 Aug 1999 00:00
22 lines
1657 bytes
Si <simon_c_smith@bigfoot.com> writes:

> SQL does provide you with pattern matching, but as you point out, it
> would not allow for 'fuzzy', or AI 'intellegent-style' searching. I have
> been using SQL as it's available on any decent database, and also for
> simplicity in demonstating what can be acieved with 'off the shelf'
> software and techniques.

> Yes, ideally some form of 'intellegent' search would be much preferable,
> but then this means much more would be needed than just a server
> attached to a database.

The other problem with using SQL is that unless it has more capabilities
than I'm aware of, it returns a flat list of matching entries.  That isn't
what you want for these kinds of searches; instead you want something more
like what a search engine does, where each match is given a weight and you
then order the matches by weight.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39408
Author: bill davidsen
Date: Tue, 24 Aug 1999 00:00
42 lines
2927 bytes
In article <brad-2408991246180001@brad.techos.skynet.be>,
Brad Knowles <brad@shub-internet.org> wrote:
| In article <7ps4nh$p12$1@news6.svr.pol.co.uk>, "Si"
| <simon_c_smith@bigfoot.com> wrote:

|     What I meant by "back-end" was that the articles were being stored
| directly into the database and not in the news server as well as being
| added to the database.  Thus, you have a front-end that handles the NNTP
| protocol, and stores the articles into the database back-end.

Unfortunately this behavior is what systems like CNFS were designed to
avoid. There's no doubt that it can be done, given enough power, but the
"stores" bit of that better include generating indices, because no
database will perform doing full text unindexed searches.

My proposal for report handling was to have a bunch of "acceptor"
machines which looked at data, generated one or more newsgroup names
based on content, and then keywords based furter on content. As many of
these could be used as are needed, they are independent and scale well,
since adding cpu power is cheaper than adding whole systems. They would
then submit the "article" to a standard news server which would handle
save and retrieve.

While what I had in mind was not originally news, this could be done
with news as well, simply by adding a bunch of cross posting and
keywords, and needing no changes to the actual news server at all
(maybe).

|     I wasn't thinking about bolting this onto an existing server, although
| that might technically be possible.  If you're talking about completely
| re-implenting the manner in which the articles are stored, you'll probably
| need to completely re-implement the way the NNTP protocol is handled, too.

Totally agree, a new protocol would probably be desirable, rather than a
redesign of the existing protocol.
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: Message search tool
#39412
Author: bert hubert
Date: Wed, 25 Aug 1999 00:00
21 lines
1703 bytes
On 24 Aug 1999 17:25:04 -0700, Russ Allbery wrote:

>> MySQL will come closest I think. I maintain a MySQL database with
>> >10Mrows which often does more than 20 operations/second (read/write).
>
>Which, read or write?  What's the balance, and how much data is being
>written?  Remember, with a news server, that's 20 *writes* per second, not

To clarify, I don't think MySQL would be fast enought to store a full feed.
I do however think that it's pretty fast, for a SQL-server.

Regards,

bert hubert.

-- 
    Delft University   |   Absoluut geen woordvoerder van Casema. Gewoon
     of Technology,    |               niet geloven wat ik zeg.
 Department of Physics |          Inspice et cautus eris - D11T'95

Re: Message search tool
#39427
Author: Etienne
Date: Wed, 25 Aug 1999 00:00
39 lines
2216 bytes

Hi Bill,

 I'll try to sum up your previous article (and also what other said) :
the NNTP is Ok for what it's actually doing, wide or complete feed of
usenet newsgroups. Adding new fontionalities would:
- Complixify  a protocol that is currently doing well.
- Add load to existing servers, that really don't need that.
- Add functionalities that are not useful for usual use.
- ... ? 


  Now, let's look another way. I (and other) have some needs. NNTP
fullfill 90% of these needs :
- There are servers tools (like INN)
- There are readers (Open Source, or just free).
For these softwares, I don't have to pay, and the readers are already on
each client computer.

  Why would I build a new protocol ?

This would mean :
- Specify and implement my new protocol :
  - Build a new server (or at least update an existing one, like INN)
  - Build a new newsreader (or update an existing open source
newsreader)
- Deploy this newsreader.
- Update it.

  It would be much easier (to me :-)) to add a new fonctionnality to the
existing protocol. Now, I can't alone modify NNTP, or next INN updates
won't work for me...
  So, I think I would build my own Search tool, but this will be from a
web page, not from the newsreader.

Etienne

Re: Message search tool
#39433
Author: Etienne
Date: Wed, 25 Aug 1999 00:00
29 lines
2093 bytes

Russ Allbery a �crit :
> 
> 
> The other problem with using SQL is that unless it has more capabilities
> than I'm aware of, it returns a flat list of matching entries.  That isn't
> what you want for these kinds of searches; instead you want something more
> like what a search engine does, where each match is given a weight and you
> then order the matches by weight.

  There are a lot of tools to do this kind of FullText search. They
allow you to search for words of the same family (foot and feet are
actually the same word), to search for words that are near (eg: less
thant 50 characters away), search for synonyms, search within thesaurus
(for instance searching for a lion would also search for all such
mammals, like a tiger)...
  Some exists, based one SQL database. The best known are TextServer
(Oracle) and Fullcrum.
  It should be possible to index data not stored in a SQL database. But
there may be troubles when article expire...

Etienne

> 
> --
> Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39436
Author: Etienne
Date: Wed, 25 Aug 1999 00:00
40 lines
2521 bytes

Russ Allbery a �crit :
> 
> Etienne <etienne@nospam.fr> writes:
> > Russ Allbery a �crit:
> 
> >> The obvious way to do it is with a web browser.  Your results page is a
> >> set of URLs, either to a news to web gateway or to the actual article
> >> if you want people to just use Netscape's built-in news reader to read
> >> it.  Your search interface is a CGI script.
> 
> > I plainly agree with you ... that this the simplier way to do.  And I
> > think this is what I will do ... But I posted my fist question to know
> > if there were another solution.
> 
> I'm not aware of any newsreaders with built-in support for this.  (Well,
> Gnus has it to some degree, since it has a Deja back-end, but that's not
> quite the same thing.)  I'd go the CGI route first just because it's
> pretty simple and a fast proof-of-concept; if it turns out to be feasible
> and as useful as would be hoped, newsreader support will certainly follow.

  I agree ... And as everyone advise to go this way, I'll go this way.

  Thanks all, for these messages. I would have prefered an answer like
'hey, just click on this URL, everything you want is already done'  
....     :-)
  
  But, as this is not the case, I'll work on this.


Regards
Etienne Gauthier
egauthie@capgemini.fr

> 
> --
> Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39441
Author: Etienne
Date: Wed, 25 Aug 1999 00:00
37 lines
2423 bytes

bill davidsen a �crit :
> 
> In article <37C2BDE7.857C1489@nospam.fr>, Etienne  <etienne@nospam.fr> wrote:
> 
> |   For sure, the only way to achive a high number of hit is to separate
> | newsgroups, one table for each. Now, I just wanted to show that a high
> | number of articles is not really a trouble.
> 
> I think you are looking at the wrong end of the problem. If you accept
> only a fairly limited feed, text only, you still get order of 5GB/day of
> data in about 600k articles. The problem is not in the looking up stuff
> in a database, it is in creating the indices in the first place, even in
> a severely limited dataset.
> 
> Now make some optimistic assumptions on what you need to index... you
> get about 57870 bytes/sec, and let's assume that you find half is header
> and average word length is six bytes including spacing. That's at least
> 4800 words per second you have to evaluate and possibly index. Going to
> index on phrases? Add more overhead. You are going to need on seriously
> ass-kicking database here, as others have found.
> 
> Feel free to disagree with my figures, or show me how you can run that
> on free software and $2k PC, I'd love to see that this is remostly
> feasible.

Thanks    :-)

  Yes, actually, I don't want to do search on full feed, not even in
partial feed, but just into internal newsgroups. So, I don't think we
will go up to this amount of data  ...   :-)


Etienne

Re: Message search tool
#39446
Author: Etienne
Date: Wed, 25 Aug 1999 00:00
33 lines
2197 bytes

Russ Allbery a �crit :
> 
> Brad Knowles <brad@shub-internet.org> writes:
> 
> > But how are you going to integrate this kind of functionality into the
> > news reader?  What newsreaders support any kind of a "search"
> > capability?
> 
> The obvious way to do it is with a web browser.  Your results page is a
> set of URLs, either to a news to web gateway or to the actual article if
> you want people to just use Netscape's built-in news reader to read it.
> Your search interface is a CGI script.


   I plainly agree with you ... that this the simplier way to do. 
And I think this is what I will do ... But I posted my fist question to
know if there were another solution.


  Now, the aim of my question is actually this :
- When a newsgroup (even internal to an entreprise) contains a high
number of articles, it may also contain the answer to your question.
Then, a good (?) idea would be to advise anyone to first do a search,
and then post a new question. To achieve this, both should be in the
same interface. Now a CGI could also post a message to a newsgroup.


Etienne
egauthie@capgemini.fr

Re: Message search tool
#39447
Author: Russ Allbery
Date: Wed, 25 Aug 1999 00:00
34 lines
2452 bytes
Etienne <etienne@nospam.fr> writes:
> Russ Allbery a �crit:

>> The obvious way to do it is with a web browser.  Your results page is a
>> set of URLs, either to a news to web gateway or to the actual article
>> if you want people to just use Netscape's built-in news reader to read
>> it.  Your search interface is a CGI script.

> I plainly agree with you ... that this the simplier way to do.  And I
> think this is what I will do ... But I posted my fist question to know
> if there were another solution.

I'm not aware of any newsreaders with built-in support for this.  (Well,
Gnus has it to some degree, since it has a Deja back-end, but that's not
quite the same thing.)  I'd go the CGI route first just because it's
pretty simple and a fast proof-of-concept; if it turns out to be feasible
and as useful as would be hoped, newsreader support will certainly follow.

On the subject of backend storage mechanism, keep in mind that you can't
avoid the problem of indexing regardless of what method you use; putting
it in a database just means that the database is building the indexes
instead of Glimpse or the like.  The tradeoff between immediate indexing
like a database would do and batch indexing like Glimpse would do is that
immediate indexing has a lot more performance impact and it will be harder
to support a large number of articles.

What you ideally want is an indexing system that supports incremental
indexing for search-engine-style full text searches, but without the
overhead of a full-blown database.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Message search tool
#39450
Author: bill davidsen
Date: Wed, 25 Aug 1999 00:00
42 lines
2627 bytes
In article <37C3B58D.8506BCEB@nospam.fr>, Etienne  <etienne@nospam.fr> wrote:
| 
| 
| Hi Bill,

|   It would be much easier (to me :-)) to add a new fonctionnality to the
| existing protocol. Now, I can't alone modify NNTP, or next INN updates
| won't work for me...
|   So, I think I would build my own Search tool, but this will be from a
| web page, not from the newsreader.

You still can use an unmodified news server to do what it does well, and
interface pretty cleanly to a search engine, or so it seems. For
instance, the server could store articles as usual, and generate a
feed to a custom program which sends the article to an analyzer which
generates the indices for the article. Then that part could connect to
the database engine (loose term, need not be traditional SQL
ralational), and send the article message-id and index info, which could
be keys, keys and weights, whatever.

This could all be on one machine, but it can be distributed, and the
analysis, which I believe will be the big resource hog, could be many
parallel processes.

You probably still want to do more, building a smoothed weighting for a
thread, since a thread with many relevant articles "nearby" in thread
fashion is more likely to be useful. And parts of the thread which have
diverged from the original content (like this post?) could be down
weighted.

The expiry process already generated a list of message-ids dropped, so
that could be fed to the search engine to handle expiry.

Yes, I did a lot of hand waving in that scenario;-)

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: Message search tool
#39479
Author: Etienne
Date: Thu, 26 Aug 1999 00:00
69 lines
3363 bytes

bill davidsen a �crit :
> 
> In article <37C3B58D.8506BCEB@nospam.fr>, Etienne  <etienne@nospam.fr> wrote:
> |
> |
> | Hi Bill,
> 
> |   It would be much easier (to me :-)) to add a new fonctionnality to the
> | existing protocol. Now, I can't alone modify NNTP, or next INN updates
> | won't work for me...
> |   So, I think I would build my own Search tool, but this will be from a
> | web page, not from the newsreader.
> 
> You still can use an unmodified news server to do what it does well, and
> interface pretty cleanly to a search engine, or so it seems. For
> instance, the server could store articles as usual, and generate a
> feed to a custom program which sends the article to an analyzer which
> generates the indices for the article. Then that part could connect to
> the database engine (loose term, need not be traditional SQL
> ralational), and send the article message-id and index info, which could
> be keys, keys and weights, whatever.

  That's a good idea : totally separate the standard article management
(INN for me) from the search engine. It could be on the same computer or
not, depending on the load.
  And this will be as evolutive as possible.

Nice   :-)
> 
> This could all be on one machine, but it can be distributed, and the
> analysis, which I believe will be the big resource hog, could be many
> parallel processes.
> 
> You probably still want to do more, building a smoothed weighting for a

  I have a limited amount of time ... And it is always possible to do
more   :-)

> thread, since a thread with many relevant articles "nearby" in thread
> fashion is more likely to be useful. And parts of the thread which have
> diverged from the original content (like this post?) could be down
> weighted.

  No, no, thanks for this idea. Actually, build an external search
engine as a news feed seems to me a very good idea, and also the way INN
(and others ?) works.

> 
> The expiry process already generated a list of message-ids dropped, so
> that could be fed to the search engine to handle expiry.
> 
> Yes, I did a lot of hand waving in that scenario;-)

 ideas are always welcome  ... 
:-)  too

> 
> --
> bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
>   The Internet is not the fountain of youth, but some days it feels like
> the fountain of immaturity.



Etienne

Re: Message search tool
#39549
Author: Si
Date: Tue, 31 Aug 1999 00:00
36 lines
2531 bytes
bill davidsen <davidsen@tmr.com> wrote in message
news:7pv0gu$1hck$1@newssvr03-int.news.prodigy.com...
  [... snip ...]
> Or finally, have a preprocessor generate special local newsgroup names
> and then feed the result into a standard news server, retrieving by
> custom group name and then keywords. I proposed this for saving realtime
> reports into an MIS system, to handle a high volume problem.

I like this idea. Could you explain it in a bit more depth? Do you mean
filter out some of the traffic for allowing the keyword search, or just the
processing of all traffic?

> I don't think the things most useful to you belong in traditional news
> at all, and rather than risk a dilution of the existing protocol by
> adding features which current users won't find supportable, a separate
> protocol with all the database stuff you want seems preferable. Full
> text search is not practical on a news feed, even with a VERY large
> database engine.

    Indeed, this is one of the main problems that have become evident in
this discussion. Full feeds are not suitable for my proposed ideas, but more
for smaller feeds like intranets. But if it's being used as an intranet, you
might as well produce an entirely new (or at least a custom extended)
protocol that would be aimed at such a venture. I don't know of any such
proggies (ie, are there any !!!) but I guess that would be where my line of
ideas would best be suited.

    BTW, thanks to all who have participated to this discussion - it's
really helped me out loads with the old thesis !

    Si.



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