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_tflush_allflush_bit_vectorsflush_term_docsmax_indexed_idnewterm_doc_ids_arrayrefterm_docsterm_docs_arrayrefterm_docs_hashrefterm_posvector
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.