Use MDMysqli's default blend modes for manticore index setup

This commit is contained in:
Joshua Ramon Enslin 2023-12-05 22:10:18 +01:00
parent 681002d844
commit a677c605c5
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -29,6 +29,9 @@ final class NodaDbAdmin {
`timestamp` timestamp)
min_infix_len = '3'
charset_table='" . MDMysqli::MANTICORE_CHARSET_TABLE . "'
expansion_limit = '32'
blend_chars = '" . MDMysqliSetup::DEFAULT_MANTICORE_BLEND_CHARS . "'
blend_mode = '" . MDMysqliSetup::DEFAULT_MANTICORE_BLEND_MODE . "'
rt_mem_limit = '2G'");
MDConsole::write("Create table `" . $index_name . "`");
@ -52,8 +55,8 @@ final class NodaDbAdmin {
`timestamp` timestamp)
min_infix_len = '3'
expansion_limit = '32'
blend_chars = '., :, &, -, ;'
blend_mode = 'trim_head, trim_tail, trim_both, trim_all, trim_none, skip_pure'
blend_chars = '" . MDMysqliSetup::DEFAULT_MANTICORE_BLEND_CHARS . "'
blend_mode = '" . MDMysqliSetup::DEFAULT_MANTICORE_BLEND_MODE . "'
charset_table='" . MDMysqli::MANTICORE_CHARSET_TABLE . "'
rt_mem_limit = '2G'");
MDConsole::write("Create table `" . $index_name . "`");