Andy Lester
Andy Lester
- `$mech->get_ok("http://www.yr.no/english/1.2025949")` - There's no way to check if a link has the title attribute (or if any element has a certain attribute, for that matter) - Cry. (This was...
If `page_links_ok()` hits a link with requires authentication, it considers it broken and fails the test. I think this is a bug and that it should emit a warning instead,...
I had this line of code ``` my @see_titles_buttons = $mech->grep_submits( {type => qr/^see_/} ); ``` but what I really wanted was ``` my @see_titles_buttons = $mech->grep_submits( {name => qr/^see_/}...
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...
Get the status JSON from the Solr instance at `admin/cores?action=STATUS&wt=json` and return a hash of the deserialized JSON.
`search()` modifies the `$params` sent to it. It should not do this. ``` sub search { my ( $self, $query, $params ) = @_; $params ||= {}; $params->{ 'q' }...
At the very least, a pointer to http://wiki.apache.org/solr/SimpleFacetParameters would help.
Currently, W::S::Q lets you create a Solr query like this: ``` $ perl -MWebService::Solr::Query -le 'print WebService::Solr::Query->new( { foo => [ 'bar', 'baz' ] } );' ((foo:"bar" OR foo:"baz")) ```...
The function do_httpx2: ``` sub do_httpx2 { my ($page, $response, $headers, $server_cert) = &do_httpx3; X509_free($server_cert) if defined $server_cert; return ($page, $response, defined $headers ? map( { ($h,$v)=/^(\S+)\:\s*(.*)$/; (uc($h),$v); } split(/\s?\n/,...