On Mon, Nov 25, 2019 at 10:43 AM David Hastings <
hastings.recurs...@gmail.com> wrote:

> you missed the part about adding &core= to the query:
> &echoParams=all&core=mega
>
> returns for me:
>
>  "responseHeader":{
>     "status":0,
>     "QTime":0,
>     "params":{
>       "q":"*:*",
>       "core":"mega",
>       "df":"text",
>       "q.op":"AND",
>       "rows":"10",
>       "echoParams":"all"}},
>

You're right, I missed that. I added it, and it works perfectly.


>
> also we are a perl shop as well, you could implement something as
> simple as this in a cgi script or something:
>
>
> my $url = $searcher;
>         my $agent = new LWP::UserAgent;
>         my $request = POST($url, $data);
>         my $response = $agent->request($request)->decoded_content;
>
>
>
Thanks for this tip.

Rhys

Reply via email to