CPAN-Search-Lite
view release on metacpan or search on metacpan
lib/CPAN/Search/Lite/Populate.pm view on Meta::CPAN
KEY (rep_id)
=over 3
=item * rep_id
This is the primary (unique) key of the table, and
corresponds to the C<rep_id> of the C<ppms> table.
=item * abs
This is a description of the repository.
=item * browse
This is a URL where one can browse the repository.
=item * perl
This specifies the perl version the repository corresponds to.
=item * alias
This specifies a short alias for the repository.
=back
=head2 chapters
This contains information on the chapters.
The table is created as
chapterid SMALLINT UNSIGNED NOT NULL
chap_link TINYTEXT
KEY (chapterid)
=over 3
=item * chapterid
This is the id of the distribution appearing in the
C<dists> table.
This is the primary (unique) key of the table, and
corresponds to the C<chapterid> of the C<dists>, C<mods>,
and C<chaps> table.
=item * chap_link
This is a description of the chapter that C<chapterid> corresponds
to (eg, C<File_Handle_Input_Output>).
=back
=head1 CATEGORIES
When uploading a module to PAUSE, there exists an option
to assign it to one of 24 broad categories. However, many
modules have not been assigned such a category, for one
reason or another. When populating the tables, the
I<AI::Categorizer> module is used to guess a possible
category for those modules that haven't been assigned one,
based on a training set based on the modules that have been
assigned a category (see <AI::Categorizer> for general
details). If this guess is above a configurable
threshold (see L<CPAN::Search::Lite::Index>, the guess is
accepted and subsequently inserted into the database, as
well as updating the categories associated with the
module's distribution.
=head1 SEE ALSO
L<CPAN::Search::Lite::Index>
=cut
( run in 2.084 seconds using v1.01-cache-2.11-cpan-c221a9de4ec )