SWISH::Prog::LucySwish3 Apache Lucy backend | |
Download |
SWISH::Prog::Lucy Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Peter Karman
- Publisher web site:
- http://search.cpan.org/~karman/
SWISH::Prog::Lucy Tags
SWISH::Prog::Lucy Description
Swish3 Apache Lucy backend SWISH::Prog::Lucy is an Apache Lucy based implementation of Swish3, using the SWISH::3 bindings for libswish3.SYNOPSIS # create an index use SWISH::Prog; my $indexer = SWISH::Prog->new( invindex => 'path/to/index.swish', aggregator => 'fs', indexer => 'lucy', config => 'path/to/swish.conf', ); $indexer->index('path/to/files'); # then search the index my $searcher = SWISH::Prog::Lucy::Searcher->new( invindex => 'path/to/index.swish', config => 'path/to/swish.conf', ); my $results = $searcher->search('my query') while ( my $result = $results->next ) { printf("%s : %s\n", $result->score, $result->uri); } Requirements: · Perl
SWISH::Prog::Lucy Related Software