Plucene::SearchEngine::Index::File - File reader for filesystem files
This frontend module takes a filesystem file, extracts its metadata and passes the file onto a backend. The frontend registers the following Plucene fields:
The MIME type of the file.
The basename of the file's filename.
The URL of the file (file://...)
file://...
A Plucene date field representing the last modified date of the file
Plucene::SearchEngine::Index::File->examine($filename [, $encoding])
This examines a file on the filesystem for the above metadata, before handling it to a backend. If an encoding is given, the text will be flagged as originally being that encoding, and then converted to UTF-8.
To install Plucene::SearchEngine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plucene::SearchEngine
CPAN shell
perl -MCPAN -e shell install Plucene::SearchEngine
For more information on module installation, please visit the detailed CPAN module installation guide.