Pangloss::Application::Searcher - searcher app for Pangloss.
use Pangloss::Application::Searcher; my $searcher = new Pangloss::Application::Searcher(); my $view = $searcher->search_terms( $search_request );
Searcher application for Pangloss, inherits from Pangloss::Application::Base.
These methods throw an Error if they cannot perform their jobs. On success, each returns a Pangloss::Application::View. If you pass in a view, the results are added to it.
search through the application's collection of terms by applying the Pangloss::Search::Request object given.
$pager must be a Pangloss::Search::Results::Pager object, or undef. If set, and the search request has not been modified, it will re-use this object instead of doing the search all over again.
sets $view->{search_results_pager}.
As a side-effect, the following collections are listed in the view if not already present: categories, languages, concepts, users. See the relevant application editors for more details.
Steve Purkis <spurkis@quiup.com>
This was not written to be fast. If speed becomes an issue, this will likely need rethinking.
Pangloss::Application, Pangloss::Search, Pangloss::Search::Request
To install Pangloss, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pangloss
CPAN shell
perl -MCPAN -e shell install Pangloss
For more information on module installation, please visit the detailed CPAN module installation guide.