NAME

Pod::POM::Web::Indexer - fulltext search for Pod::POM::Web

SYNOPSIS

perl [-I some/special/dirs] -MPod::POM::Web::Indexer \
     -e "Pod::POM::Web::Indexer->new->index_all"

DESCRIPTION

Adds fulltext search capabilities to the Pod::POM::Web application.

Performances

On my machine, indexing a module takes an average of 0.2 seconds, except for some long and complex sources. Here are the worst figures (in seconds) :

Perl/Tidy            291.969
Unicode/CharName     184.442
Pod/perltoc           40.071
Date/Manip            39.655
DBI                   30.73
Pod/perlfunc          29.502
Module/CoreList       27.287
CGI                   16.922
Config                13.445
CPAN                  12.598
Pod/perlapi           10.906
CGI/FormBuilder        8.592
Win32/TieRegistry      7.338
Spreadsheet/WriteExcel 7.132
Pod/perldiag           5.771
Parse/RecDescent       5.405
Bit/Vector             4.768

The total index size should be between 30MB and 50MB, depending on how many modules are installed.

TODO

- incremental indexing
- add option in Search::Indexer to ignore word positions index; not very
  relevant here, and would save a lot of disk space
- searching some::module does not work
- highlights in shown documents
- paging