DBIx::TextIndex::TermDocsCache - Cache object for term-documents vectors
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, });
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.
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
Daniel Koch, dkoch@cpan.org.
Copyright 1997-2007 by Daniel Koch. All rights reserved.
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".
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.
To install DBIx::TextIndex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::TextIndex
CPAN shell
perl -MCPAN -e shell install DBIx::TextIndex
For more information on module installation, please visit the detailed CPAN module installation guide.