Daniel Koch

NAME

DBIx::TextIndex::TermDocsCache - Cache object for term-documents vectors

SYNOPSIS

 use DBIx::TextIndex::TermDocsCache;

 my $cache = DBIx::TextIndex::TermDocsCache->new((
     db => $database_name,
     index_dbh => $dbh,
     max_indexed_id => $max_indexed_id,
     inverted_tables => \@table_names,
 });

DESCRIPTION

Used internally by DBIx::TextIndex. For each term (word) in the inverted index, a list of documents containing that term is stored. This class caches reads of these term-documents vectors in memory.

This class should not be used directly by client code.

Restricted Methods

f_t
flush_all
flush_bit_vectors
flush_term_docs
max_indexed_id
new
term_doc_ids_arrayref
term_docs
term_docs_arrayref
term_docs_hashref
term_pos
vector

AUTHOR

Daniel Koch, dkoch@cpan.org.

COPYRIGHT

Copyright 1997-2007 by Daniel Koch. All rights reserved.

LICENSE

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".

DISCLAIMER

This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the "GNU General Public License" for more details.




Hosting generously
sponsored by Bytemark