NAME

Pangloss::Search::Results - collection of terms resulting from a search

SYNOPSIS

use Pangloss::Search::Results;
my $results = new Pangloss::Search::Results;

$results->add( @terms );

my ($concept) = $results->concepts;
my $results2  = $results->by_concept( $concept );

my ($lang)    = $results->languages;
my $results3  = $results->by_language( $lang );

my @terms = $results->list;

DESCRIPTION

A collection of Panglos::Terms indexed by concept and language. Inherits from Pangloss::Terms.

METHODS

TODO: document API methods.

NOTES

Ordering by category, translator, and proofreader should be fairly easy to add in the future.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss::Search, Pangloss::Search::Results::Pager

Pangloss::Terms, Pangloss::Users, Pangloss::Concepts, Pangloss::Languages, Pangloss::Categories,