How about using the state transitions, i.e.
0 -> 1 state changed, no error
0/1 -> 0/1 state unchanged, no error
1 -> 0 state changed, overflow
C:~
-----Original Message-----
From: Michael Zimmermann [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 12:07 PM
To: Colin Faber; [EMAIL PROTECTED]
Subject: Re: PigeonRank?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At Montag, 1. April 2002 21:38 Colin Faber wrote:
> Is it true that mysql is planing to implement google's famous
> PigeonRank system in it's FTS word weighting schema???
I allready have a simple quick-n-dirty implementation running
on our local mysql servers (using spades instead of pigeons),
so it shouldn't be too difficult to phase this development
into the main cvs-trunk later.
The only problem I wasn't yet able to resolve reliably
is to store the three possible values into one bit, hence
I'm using two bits for the decision logic and call this
three-valued boolean storage unit a 'peck'. But it's my
feeling, that there must be better a solution; after all
if a qbit can hold 4 values (as modern physics says), why
shouldn't a peck be able to mark 3 possibilities (or even
4 if you count 'not-yet-pecked' as the fourth).
Working on it.
Michael
- --
Michael Zimmermann (Vegaa Safety and Security for Internet Services)
<[EMAIL PROTECTED]> phone +49 89 6283 7632 hotline +49 163 823 1195
Key fingerprint = 1E47 7B99 A9D3 698D 7E35 9BB5 EF6B EEDB 696D 5811
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8qL3g72vu22ltWBERAj4nAJ43ozoANVzaNc7sFhEi4TQSLikp0QCfYYa8
DxDIMKhmecG7gx6BmxKZxnE=
=GEhN
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php