NAME
Data::SearchEngine::Query - Query to pass to an engine.
SYNOPSIS
The query object has some common attributes one would expect when performing a search. It has the added benefit of producing a digest that can be used with Data::SearchEngine::Results ability to serialize to implement caching.
If you add new attributes to a subclass, be sure and add the Digestable trait to any attributes you want to be included in the digest as document in Data::SearchEngine::Meta::Attribute::Trait::Digestable.
ATTRIBUTES
count
The number of results this query should return.
order
The order in which the results should be sorted.
Which page of results to show.
The query string to search for.
METHODS
digest
Returns a unique digest identifying this Query. Useful as a key when caching.
AUTHOR
Cory G Watson, <gphat at cpan.org>
COPYRIGHT & LICENSE
Copyright 2009 Cory G Watson
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 93:
Unknown directive: =head
- Around line 97:
Unknown directive: =head