I don't like they put facet field and facet count in one array,
So, just hashify it yourself (although you'll lose the sorting, of course):
my $autId = $facet_counts->{facet_fields}{author_id}; my %easy_hash = @$autId;
maybe my "Dumper +Regex" is safer.
Almost certainly not. Take the robust approach and then post-process the data as desired.
🦛
In reply to Re^3: How to retrieve WebService::Solr facet value properly?
by hippo
in thread How to retrieve WebService::Solr facet value properly?
by swiftlet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |