--- lib/Search/TokyoDystopia.pm 2008/08/18 18:28:05 18 +++ lib/Search/TokyoDystopia.pm 2008/08/18 19:07:04 27 @@ -34,6 +34,7 @@ tcidbout tcidbget tcidbsearch +tcidbsearch2 IDBSSUBSTR IDBSPREFIX IDBSSUFFIX @@ -41,6 +42,14 @@ IDBSTOKEN IDBSTOKPRE IDBSTOKSUF +tcidbiterinit +tcidbiternext +tcidbsync +tcidboptimize +tcidbvanish +tcidbcopy +tcidbpath +tcidbrnum ); =head1 NAME @@ -120,7 +129,7 @@ =head2 tcidbsearch - my @ids = tcidbsearch( $idb, $word, IDBSSUBSTR ) + my $ids = tcidbsearch( $idb, $word, IDBSSUBSTR ); =cut @@ -134,6 +143,44 @@ IDBSTOKSUF => 6, # token suffix matching }; +=head2 tcidbsearch2 + + my $ids = tcidbsearch2( $idb, $expr ); + +=head2 tcidbiterinit + + my $success = tcidbiterinit( $idb ); + +=head2 tcidbiternext + + my $id = tcidbiternext( $idb ); + +=head2 tcidbsync + + my $success = tcidbsync( $idb ); + +=head2 tcidboptimize + + my $success = tcidboptimize( $idb ); + +=head2 tcidbvanish + + my $success = tcidbvanish( $idb ); + +=head2 tcidbcopy + + my $success = tcidbcopy( $idb, '/path/of/copy' ); + +=head2 tcidbpath + + my $path = tcidbpath( $idb ); + +=head2 tcidbrnum + + my $number_of_records = tcidbrnum( $idb ); + +=cut + =head1 KNOWN BUGS Low-level functions often just die when called on invalid (or deleted) database