NAME

MetaCPAN::Client::ResultSet - A Result Set

VERSION

version 1.001000

DESCRIPTION

Object representing a result from Elastic Search. This is used for the complex (as in non-simple) queries to MetaCPAN. It provides easy access to the scroller and facets.

ATTRIBUTES

scroller

An Search::Elasticsearch::Scroll object

type

The entity of the result set. Available types:

  • author

  • distribution

  • module

  • release

  • favorite

  • file

facets

The facets available in the Elastic Search response.

METHODS

next

Iterator call to fetch the next result set object.

total

Iterator call to fetch the total amount of objects available in result set.

AUTHORS

  • Sawyer X <xsawyerx@cpan.org>

  • Mickey Nasriachi <mickey@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Sawyer X.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.