Elasticsearch is a restful search. If your top example works, but bottom does not, you probably need to build a rest search from the request.
Like in a regular search you post a search form, but after initial search it's a get request with pagination. Something like:
public function processAdmin()
{
if (!ChkAuth::chkRole('admin')) { // ignore line custom auth
return redirect('indexbl');
}
if (Request::has('submit')) {
$dogsearch = !empty(Request::input('psch')) ? Request::input('psch') : '';
return redirect('dog/indexadmin/' . $dogsearch);
}
}
Now I hit my route dog/indexadmin and can have the parameter $dogsearch.
Anyway this part:
'dog/indexadmin/' . $dogsearch
Is built since it's going to be a paginated get request after the initial post search.
And sorry
It's very hard to explain all this in just a forum post. But search for other Elasticsearch example as well, maybe S.O.
Bottom line, build the rest search line needed from initial request data.
I'm sure there's other ways as well.
Edit: seems like the examples from Scout should be working for example: https://laravel.com/docs/5.8/scout#where-clauses
Make sure you are using and set up Scout exactly like the documentation says.