NAME
Data::SearchEngine::Results::Faceted - Facet role for Results
VERSION
version 0.33
SYNOPSIS
my $results = Data::SearchEngine::Results->new;
$results->set_facet('foo', 'bar');
DESCRIPTION
Provides storage and methods for retrieving facet information.
ATTRIBUTES
facets
HashRef of facets for this query. The HashRef is keyed by the name of the facet and the values are the facet's value.
METHODS
facet_names
Returns an array of all the keys of facets
.
get_facet
Gets the facet with the specified name. Returns undef if one does not exist.
set_facet
Sets the facet with the specified name.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
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.