webservice-solr icon indicating copy to clipboard operation
webservice-solr copied to clipboard

Allow ::Query to set localparams

Open petdance opened this issue 4 years ago • 0 comments

For example:

my %args = ( q => 'cows' );
my $q = WebService::Solr::Query->new( \%args );
$q->localparams( '{!tag=foo}' );
say $q->stringify;

prints

{!tag=foo}(q:"cows")

See https://solr.apache.org/guide/8_9/local-parameters-in-queries.html for more about local parameters.

See also https://rt.cpan.org/Public/Bug/Display.html?id=114415

petdance avatar Sep 22 '21 20:09 petdance