Dezi::Aggregator::Mail - crawl a mail box
use Dezi::Aggregator::Mail; my $aggregator = Dezi::Aggregator::Mail->new( indexer => Dezi::Indexer::Native->new() ); $aggregator->indexer->start; $aggregator->crawl('path/to/my/maildir'); $aggregator->indexer->finish;
Dezi::Aggregator::Mail is a Dezi::Aggregator subclass designed for providing full-text search for your email.
Dezi::Aggregator::Mail uses Mail::Box, available from CPAN.
Since Dezi::Aggregator::Mail inherits from Dezi::Aggregator, read the Dezi::Aggregator docs first. Any overridden methods are documented here.
Internal method only.
Adds the special mail MetaName to the Config object before opening indexer.
mail
Create index.
Returns number of emails indexed.
Extract data and content from Mail::Message in folder and return doc_class() object.
Peter Karman, <karpet@dezi.org>
Please report any bugs or feature requests to bug-dezi-app at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-App. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-dezi-app at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Dezi::App
You can also look for information at:
Website
http://dezi.org/
IRC
#dezisearch at freenode
Mailing list
https://groups.google.com/forum/#!forum/dezi-search
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dezi-App
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Dezi-App
CPAN Ratings
http://cpanratings.perl.org/d/Dezi-App
Search CPAN
https://metacpan.org/dist/Dezi-App/
Copyright 2014 by Peter Karman
This library is free software; you can redistribute it and/or modify it under the terms of the GPL v2 or later.
http://dezi.org/, http://swish-e.org/, http://lucy.apache.org/
To install Dezi::App, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dezi::App
CPAN shell
perl -MCPAN -e shell install Dezi::App
For more information on module installation, please visit the detailed CPAN module installation guide.