Files
adminer/plugins/drivers
Christian Weiske d5a17835ff Elastic: Fix text search on boolean fields
When searching in all fields for a text value, an error was thrown
with ElasticSearch 7.17.23 when the index contains boolean fields:

> query_shard_exception: failed to create query:
> Can't parse boolean value [textvalue], expected [true] or [false]

This patch fixes that problem by skipping boolean fields when the
search word is not the string "true" or "false".
2025-03-03 10:40:38 +01:00
..
2025-02-26 16:48:02 +01:00
2025-02-21 13:59:17 +01:00
2025-02-26 16:48:02 +01:00
2021-02-10 19:52:55 +01:00
2025-02-26 16:48:02 +01:00

Enable drivers in this directory like this:

<?php
function adminer_object() {
	include "./plugins/drivers/simpledb.php"; // the driver is enabled just by including
	return new Adminer; // or return AdminerPlugin if you want to use other plugins
}

// include original Adminer
include "./adminer.php";
?>