From a6a1e51ced930871a405c026c173a7aba4773836 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 14 Feb 2024 19:00:02 +0200 Subject: [PATCH] add multiple data type index support --- src/index.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/index.php b/src/index.php index 8c7fa17..d8da8f6 100644 --- a/src/index.php +++ b/src/index.php @@ -342,26 +342,6 @@ for ($block = $state + 1; $block <= $blocks; $block++) ); } - // Skip binary index - if (false === mb_detect_encoding((string) $namespace, null, true) - || - false === mb_detect_encoding((string) $key, null, true) - || - false === mb_detect_encoding((string) $value, null, true)) - { - continue; - } - - // Skip base64 index - if (base64_encode(base64_decode($namespace, true)) === $namespace - || - base64_encode(base64_decode($key, true)) === $key - || - base64_encode(base64_decode($value, true)) === $value) - { - continue; - } - // Add index record $index->add( $raw['time'],