/[wait]/trunk/lib/WAIT/InvertedIndex.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /trunk/lib/WAIT/InvertedIndex.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 108 - (view) (annotate) - [select for diffs]
Modified Tue Jul 13 17:41:12 2004 UTC (19 years, 9 months ago) by dpavlin
File length: 25179 byte(s)
Diff to previous 89
beginning of version 2.0 using BerkeleyDB (non-functional for now)


Revision 89 - (view) (annotate) - [select for diffs]
Modified Mon May 24 20:57:08 2004 UTC (19 years, 11 months ago) by dpavlin
File length: 22273 byte(s)
Diff to previous 88
revert to DB_File from BerkeleyDB


Revision 88 - (view) (annotate) - [select for diffs]
Modified Mon May 24 13:44:01 2004 UTC (19 years, 11 months ago) by dpavlin
File length: 22383 byte(s)
Diff to previous 85
move cvs-head to trunk


Revision 85 - (view) (annotate) - [select for diffs]
Modified Fri May 3 16:16:10 2002 UTC (21 years, 11 months ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 22383 byte(s)
Diff to previous 83
First stab at moving backend from DB_File to BerkeleyDB.


Revision 83 - (view) (annotate) - [select for diffs]
Modified Sat Apr 27 16:15:31 2002 UTC (21 years, 11 months ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 22273 byte(s)
Diff to previous 82
detypo


Revision 82 - (view) (annotate) - [select for diffs]
Modified Mon Apr 22 10:09:34 2002 UTC (22 years ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 22274 byte(s)
Diff to previous 80
Fix from Graham Barr:

1. If a database is not opened with O_CREAT and it does not contain
   all indexes then it will crash with cannot call method on undefined
   value because the DB_File tie will return undef.

2. Calling delete with parameters that will cause the access of a
   non-existant tuple was calling problmes as the method needs to
   return undef when it does not exist.


Revision 80 - (view) (annotate) - [select for diffs]
Modified Sat Apr 20 15:01:38 2002 UTC (22 years ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 22241 byte(s)
Diff to previous 71
Fixed some typos


Revision 71 - (view) (annotate) - [select for diffs]
Modified Sun Jan 27 15:27:38 2002 UTC (22 years, 2 months ago) by laperla
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 22237 byte(s)
Diff to previous 51
- trigrams working


Revision 51 - (view) (annotate) - [select for diffs]
Modified Mon Dec 31 14:00:22 2001 UTC (22 years, 3 months ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 22237 byte(s)
Diff to previous 40
Moved 'sub keys' to end of file to avoid warnings about CORE::keys.


Revision 40 - (view) (annotate) - [select for diffs]
Modified Mon Nov 13 10:44:03 2000 UTC (23 years, 5 months ago) by laperla
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 22237 byte(s)
Diff to previous 36
seq returns 0 on success. So if there is an error on positioning the
cursor on $O$;, then we can say it is not an old index. The condition
is
    if $dbh->seq, then return
but it was
    $dbh->seq or return.

Besides there are now some outcommented debugging statements that I
needed from time to time. They should be removed some day later but
left for a while to ease the debugging process.


Revision 36 - (view) (annotate) - [select for diffs]
Modified Sun Nov 12 17:01:59 2000 UTC (23 years, 5 months ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 21995 byte(s)
Diff to previous 33
$0 -> $O$;


Revision 33 - (view) (annotate) - [select for diffs]
Modified Sun Nov 12 13:25:57 2000 UTC (23 years, 5 months ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 21995 byte(s)
Diff to previous 30
Check dbh->seq return value in is_an_old_index


Revision 30 - (view) (annotate) - [select for diffs]
Modified Sun Nov 12 01:23:47 2000 UTC (23 years, 5 months ago) by laperla
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 21928 byte(s)
Diff to previous 22
InvertedIndex needs some $VERSION so that others can reliably say it was loaded.

Added a DIVZERO check


Revision 22 - (view) (annotate) - [select for diffs]
Modified Sat Nov 11 16:58:53 2000 UTC (23 years, 5 months ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 21034 byte(s)
Diff to previous 20
Modified structure of inverted indices.  The old one was not able to
cope with words starting with "\377(o|m)".  Prefix and interval
searches have not been tested yet.


Revision 20 - (view) (annotate) - [select for diffs]
Modified Tue May 9 11:29:45 2000 UTC (23 years, 11 months ago) by cvs2svn
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 19902 byte(s)
Copied from: branches/CPAN/lib/WAIT/InvertedIndex.pm revision 19
Diff to previous 19
This commit was generated by cvs2svn to compensate for changes in r10,
which included commits to RCS files with non-trunk default branches.


Revision 19 - (view) (annotate) - [select for diffs]
Modified Tue May 9 11:29:45 2000 UTC (23 years, 11 months ago) by ulpfr
Original Path: branches/CPAN/lib/WAIT/InvertedIndex.pm
File length: 19902 byte(s)
Diff to previous 13
Import of WAIT-1.800


Revision 13 - (view) (annotate) - [select for diffs]
Modified Fri Apr 28 15:42:44 2000 UTC (23 years, 11 months ago) by ulpfr
Original Path: branches/CPAN/lib/WAIT/InvertedIndex.pm
File length: 9201 byte(s)
Diff to previous 11
Import of WAIT-1.710


Revision 11 - (view) (annotate) - [select for diffs]
Modified Fri Apr 28 15:41:10 2000 UTC (23 years, 11 months ago) by unknown
Original Path: branches/CPAN/lib/WAIT/InvertedIndex.pm
File length: 8976 byte(s)
Diff to previous 10
This commit was manufactured by cvs2svn to create branch 'CPAN'.

Revision 10 - (view) (annotate) - [select for diffs]
Added Fri Apr 28 15:40:52 2000 UTC (23 years, 11 months ago) by ulpfr
Original Path: cvs-head/lib/WAIT/InvertedIndex.pm
File length: 8976 byte(s)
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26