索引更多数据

This commit is contained in:
wenyifan 2023-10-19 18:52:55 +08:00
parent dcbbae4603
commit e1c57cb63d

View File

@ -38,10 +38,10 @@ const writeSphinxConfig = async (rootPath, dbPath, params = {}) => {
type = rt type = rt
path = ${dbPath}/database/torrents path = ${dbPath}/database/torrents
min_prefix_len = 3 min_prefix_len = 2
expand_keywords = 1 expand_keywords = 1
charset_type = utf-8 charset_type = utf-8
charset_table = 0..9, A..Z->a..z, a..z, U+4E00..U+9FFF->U+4E00..U+9FFF, U+3400..U+4DBF->U+3400..U+4DBF, U+20000..U+2A6DF->U+20000..U+2A6DF, U+2A700..U+2B73F->U+2A700..U+2B73F, U+2B740..U+2B81F->U+2B740..U+2B81F, U+2B820..U+2CEAF->U+2B820..U+2CEAF, U+2CEB0..U+2EBEF->U+2CEB0..U+2EBEF charset_table = 0..9, A..Z->a..z, a..z, U+0000..U+10FFFF
rt_attr_string = hash rt_attr_string = hash
@ -72,7 +72,7 @@ const writeSphinxConfig = async (rootPath, dbPath, params = {}) => {
path = ${dbPath}/database/files path = ${dbPath}/database/files
charset_type = utf-8 charset_type = utf-8
charset_table = 0..9, A..Z->a..z, a..z, U+4E00..U+9FFF->U+4E00..U+9FFF, U+3400..U+4DBF->U+3400..U+4DBF, U+20000..U+2A6DF->U+20000..U+2A6DF, U+2A700..U+2B73F->U+2A700..U+2B73F, U+2B740..U+2B81F->U+2B740..U+2B81F, U+2B820..U+2CEAF->U+2B820..U+2CEAF, U+2CEB0..U+2EBEF->U+2CEB0..U+2EBEF charset_table = 0..9, A..Z->a..z, a..z, U+0000..U+10FFFF
rt_field = path rt_field = path