On Mon, Sep 29, 2003 at 01:07:17PM -0400, Thomas Schulz wrote:
> I am curious as to when the bayes journal is used.  I know that it can be
> used for learning if bayes_learn_to_journel is set to 1, but I see that
> the journal is used even if bayes_learn_to_journel is not set.  What is
> it being used for?

There's a paragraph in the sa-learn man page about it, but it's used in two ways:

1) learning, as you've stated, only if bayes_learn_to_journal is enabled.
   this means learning is faster, but the change won't take effect until
   the journal is synced.

2) scanning, the most common.  anytime bayes scans a message, the tokens
   in the message are put in the journal to update the timestamp in the DB
   for the tokens.  this lets the expire routine figure out which tokens
   haven't been used in a while, and can therefore be removed.

-- 
Randomly Generated Tagline:
You think you're confused?  Wait till I explain it.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to