
WebService::Lucene::Results - Results from a search or list operation

# documents
@docs = $results->documents;
# iterator
$docs = $results->documents;
# Data::Page object
$pager = $results->pager;
# next page
$results = $results->next_page;
# previous page
$results = $results->previous_page;

Wraps a list of documents and a Data::Page object.

Creates an empty results object.
Generates a results object from an XML::Atom::Feed object.
Generates a results object from an WWW::OpenSearch::Response object.
Accessor for the original results object.
Accessor for the Data::Page object.
Accessor for an array ref of documents.
Returns an interator in scalar context or an array of documents in list context.
Goes to the next page of results.
Goes to the previous page of results.
Returns the opensearch:Query field with rel="correction" if it exists. In list context, returns the full list. In scalar context only the first suggestion is returned.
Alias for suggestion().
Attempts to get a link tag of type $type from an Atom feed.
Attempts to get an Atom feed from $url and send it to new_from_feed.


Copyright 2008 National Adult Literacy Database
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.