Search::ToolsSearch::Tools are tools for building search applications. | |
Download |
Search::Tools Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Peter Karman
- Publisher web site:
- http://search.cpan.org/~karman/CatalystX-CRUD-0.17/lib/CatalystX/CRUD/Tutorial.pod
Search::Tools Tags
Search::Tools Description
Search::Tools are tools for building search applications. Search::Tools are tools for building search applications.SYNOPSIS use Search::Tools; my $re = Search::Tools->regexp(query => 'the quick brown fox'); my $snipper = Search::Tools->snipper(query => $re); my $hiliter = Search::Tools->hiliter(query => $re); for my $result (@search_results) { print $hiliter->light( $snipper->snip( $result->summary ) ); }Search::Tools is a set of utilities for building search applications. Rather than adhering to a particular search application, the goal of Search::Tools is to provide general-purpose methods for common search application features. Think of Search::Tools like a toolbox rather than a hammer.Examples include:Parsing search queries for the meaningful keywordsRich regular expressions for locating keywords in the original indexed documentsContextual snippets showing query keywordsHighlighting of keywords in contextSearch::Tools is derived from some of the features in HTML::HiLiter and SWISH::HiLiter, but has been re-written with an eye to accomodating more general purpose features. Requirements: · Perl 5.8 or later is required. This is for full UTF-8 support. · Class::Accessor::Fast · Search::QueryParser
Search::Tools Related Software