NAME
HTML::Index::Stats - utility module for providing statistics on the inverted index generated by HTML::Index::Create.
SYNOPSIS
my $store = HTML::Index::Store::BerkeleyDB->new( DB => $db );
my $stats = HTML::Index::Stats->new( STORE => $store );
print $stats->stats();
my @words = $stats->words();
my @files = $stats->files();
my $nwords = $stats->nwords();
my $nfiles = $stats->nfiles();
DESCRIPTION
This is a simple utility module to print statistics of a HTML::Index::Store object, and to access the list of / number of words / files it contains. The stats reports stuff like the number of bits / word used in storage, both compressed and uncompressed, etc.
SEE ALSO
AUTHOR
Ave Wrigley <Ave.Wrigley@itn.co.uk>
COPYRIGHT
Copyright (c) 2001 Ave Wrigley. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.