Catmandu-Solr
view release on metacpan or search on metacpan
lib/Catmandu/Store/Solr/CQL.pm view on Meta::CPAN
if ($filters) {
for my $filter (@$filters) {
if ($filter eq 'lowercase') {
$self->log->debug(
"term '$term' filtered to lowercase");
$term = lc $term;
}
}
}
#change term using callbacks
if (ref $op && $op->{cb}) {
my ($pkg, $sub) = @{$op->{cb}};
$self->log->debug(
"term '$term' changed to ${pkg}->${sub}");
$term = require_package($pkg)->$sub($term);
}
elsif ($q_mapping->{cb}) {
my ($pkg, $sub) = @{$q_mapping->{cb}};
$self->log->debug(
"term '$term' changed to ${pkg}->${sub}");
( run in 0.248 second using v1.01-cache-2.11-cpan-1dc43b0fbd2 )