Plucene::SearchEngine::IndexPlucene::SearchEngine::Index is a higher level abstraction for Plucene. | |
Download |
Plucene::SearchEngine::Index Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Simon Cozens
- Publisher web site:
- http://search.cpan.org/~simon/Sub-Versive-0.01/Versive.pm
Plucene::SearchEngine::Index Tags
Plucene::SearchEngine::Index Description
Plucene::SearchEngine::Index is a higher level abstraction for Plucene. Plucene::SearchEngine::Index is a higher level abstraction for Plucene.SYNOPSIS my $indexer = Plucene::SearchEngine::Index->new( dir => "/var/lib/plucene" ); my @documents = map { $_->document } Plucene::SearchEngine::Index::File->examine("foo.html"); $indexer->index($_) for @documents;This module makes it easy to write to Plucene indexes. It does so by providing an interface to the index writer which, in terms of complexity, sits between Plucene::Index::Writer and Plucene::Simple; it also provides a framework of modules for turning data into Plucene::Document objects, so that you don't necessarily have to parse them yourself. See "Document Frontends and Backends" for more on this.Designed to be used with Plucene::SearchEngine::Query, these two modules aim to make it easy for anyone writing search engines based on Plucene.METHODSnew my $indexer = Plucene::SearchEngine::Index->new( dir => "/var/plucene/foo", analyzer => "Plucene::Analysis::SimpleAnalyzer", );This creates a new indexer; you must specify the directory to contain the index, and you may specify an analyzer to tokenize the data.indexThis adds a Plucene::Document to the index. Requirements: · Perl
Plucene::SearchEngine::Index Related Software