Elasticsearch: Show executed query as a json
This commit is contained in:
parent
4b6833ba65
commit
33234fef19
|
@ -148,7 +148,7 @@ if (isset($_GET["elastic"])) {
|
|||
$start = microtime(true);
|
||||
$search = $this->_conn->query($query, $data);
|
||||
if ($print) {
|
||||
echo $adminer->selectQuery("$query: " . print_r($data, true), $start, !$search);
|
||||
echo $adminer->selectQuery("$query: " . json_encode($data), $start, !$search);
|
||||
}
|
||||
if (!$search) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue