NAME

Pangloss::Search::Request - wrapper around a set of search filters

SYNOPSIS

use Pangloss::Search;
use Pangloss::Search::Request;
my $srequest = new Pangloss::Search::Request;

$srequest->language( 'foo', $boolean )
         ->toggle_category( $category->key )
         ->keywords( 'foo bar baz' )
         ->document_uri( $uri )
         ->document( $text );

my $search = new Pangloss::Search;
$search->add_filters( $srequest->get_filters );
       ->apply;

DESCRIPTION

This class is a wrapper around the Pangloss::Search::Filters, designed to preserve the current state of a user's search criteria in such a way that it can be refined over a number of requests.

METHODS

TODO: document API methods.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss::Search, Pangloss::Search::Results, Pangloss::Search::Filter, Pangloss::Search::Filter::Category, Pangloss::Search::Filter::Concept, Pangloss::Search::Filter::Language, Pangloss::Search::Filter::Proofreader, Pangloss::Search::Filter::Translator, Pangloss::Search::Filter::Status, Pangloss::Search::Filter::Keyword, Pangloss::Search::Filter::Document, Pangloss::Search::Filter::DateRange,