Data::SearchEngine::Results::Faceted - Facet role for Results
version 0.33
my $results = Data::SearchEngine::Results->new; $results->set_facet('foo', 'bar');
Provides storage and methods for retrieving facet information.
HashRef of facets for this query. The HashRef is keyed by the name of the facet and the values are the facet's value.
Returns an array of all the keys of facets.
facets
Gets the facet with the specified name. Returns undef if one does not exist.
Sets the facet with the specified name.
Cory G Watson <gphat@cpan.org>
This software is copyright (c) 2012 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::SearchEngine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::SearchEngine
CPAN shell
perl -MCPAN -e shell install Data::SearchEngine
For more information on module installation, please visit the detailed CPAN module installation guide.