From efc67b57d34cf9cf201c7585e4f617076c224f5d Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sun, 17 Sep 2023 00:06:42 +0200 Subject: [PATCH] Remove infix length, increase memory consumed by search indexes --- src/NodaDbAdmin.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/NodaDbAdmin.php b/src/NodaDbAdmin.php index 619dd86..a19b941 100644 --- a/src/NodaDbAdmin.php +++ b/src/NodaDbAdmin.php @@ -26,7 +26,9 @@ final class NodaDbAdmin { `language` string, `name` text, `description` text, - `timestamp` timestamp) min_infix_len = '3'"); + `timestamp` timestamp) + charset_table='" . MDMysqli::MANTICORE_CHARSET_TABLE . "' + rt_mem_limit = '2G'"); MDConsole::write("Create table `" . $index_name . "`"); } @@ -46,7 +48,9 @@ final class NodaDbAdmin { `language` string, `name` text, `description` text, - `timestamp` timestamp) min_infix_len = '3'"); + `timestamp` timestamp) + charset_table='" . MDMysqli::MANTICORE_CHARSET_TABLE . "' + rt_mem_limit = '2G'"); MDConsole::write("Create table `" . $index_name . "`"); }