meilisearch single setting and default search mode

This commit is contained in:
xiaomlove
2023-05-11 02:23:19 +08:00
parent 4684640dcd
commit 0fbd815a8f
12 changed files with 135 additions and 41 deletions

View File

@@ -85,6 +85,15 @@ return [
'max_uploaded_duration' => 'Maximum upload volume multiplier effective time range',
'max_uploaded_duration_help' => 'Unit: hours. The maximum upload volume multiplier takes effect within this time range after the torrent is published, and does not take effect beyond this range. A setting of 0 is always in effect',
],
'meilisearch' => [
'tab_header' => 'Meilisearch',
'enabled' => 'Whether to enable Meilisearch',
'enabled_help' => 'Please install and configure it and import the data before enabling it, otherwise there is no data for torrent search.',
'search_description' => 'Meilisearch whether to search for descriptions',
'search_description_help' => "Default: 'No'. If 'Yes', description containing keywords will also be returned, and the number of hits may be higher. Need to re-import immediately after change",
'default_search_mode' => 'Default search mode',
'default_search_mode_help' => "Default: 'Exact'. 'And' will be split, 'Exact' is not split",
],
'system' => [
'tab_header' => 'System',
'change_username_card_allow_characters_outside_the_alphabets' => 'Does the name change card allow characters other than English letters',
@@ -93,10 +102,6 @@ return [
'cookie_valid_days' => 'Cookie Valid days',
'maximum_upload_speed' => 'Maximum upload speed',
'maximum_upload_speed_help' => 'A single torrent upload speed exceeding this value is instantly disabled for the account, in Mbps. For example: 100 Mbps = 12.5 MB/s',
'meilisearch_enabled' => 'Whether to enable Meilisearch',
'meilisearch_enabled_help' => 'Please install and configure it and import the data before enabling it, otherwise there is no data for torrent search.',
'meilisearch_search_description' => 'Meilisearch whether to search for descriptions',
'meilisearch_search_description_help' => "Default: 'No'. If 'Yes', description containing keywords will also be returned, and the number of hits may be higher. Need to re-import immediately after change",
],
],
'user' => [

View File

@@ -10,4 +10,8 @@ return [
'3' => 'Uploader',
'4' => 'IMDB URL'
],
'search_modes' => [
'and' => 'And',
'exact' => 'Exact',
],
];

View File

@@ -85,6 +85,15 @@ return [
'max_uploaded_duration' => '最大上传量倍数有效时间范围',
'max_uploaded_duration_help' => '单位:小时。种子发布后的这个时间范围内,最大上传量倍数生效,超过此范围不生效。设置为 0 一直生效',
],
'meilisearch' => [
'tab_header' => 'Meilisearch',
'enabled' => '是否启用 Meilisearch',
'enabled_help' => '请先安装配置好并导入数据再启用,否则种子搜索无数据',
'search_description' => '是否搜索描述',
'search_description_help' => "默认:'否'。若为'是',描述中包含关键字也会返回,命中的结果可能较多。修改后需立即重新导入",
'default_search_mode' => '默认搜索模式',
'default_search_mode_help' => "默认:'准确'。'与'将进行分词,'准确'不分词",
],
'system' => [
'tab_header' => '系统',
'change_username_card_allow_characters_outside_the_alphabets' => '改名卡是否允许英文字母外的字符',
@@ -93,10 +102,6 @@ return [
'cookie_valid_days' => 'Cookie 有效天数',
'maximum_upload_speed' => '最大上传速度',
'maximum_upload_speed_help' => '单种上传速度超过此值账号即刻禁用,单位 Mbps。如100 Mbps = 12.5 MB/s',
'meilisearch_enabled' => '是否启用 Meilisearch',
'meilisearch_enabled_help' => '请先安装配置好并导入数据再启用,否则种子搜索无数据',
'meilisearch_search_description' => 'Meilisearch 是否搜索描述',
'meilisearch_search_description_help' => "默认:'否'。若为'是',描述中包含关键字也会返回,命中的结果可能较多。修改后需立即重新导入",
],
],
'user' => [

View File

@@ -10,4 +10,8 @@ return [
'3' => '发布者',
'4' => 'IMDB链接'
],
'search_modes' => [
'and' => '与',
'exact' => '准确',
],
];

View File

@@ -85,6 +85,15 @@ return [
'max_uploaded_duration' => '最大上傳量倍數有效時間範圍',
'max_uploaded_duration_help' => '單位:小時。種子發布後的這個時間範圍內,最大上傳量倍數生效,超過此範圍不生效。設置為 0 一直生效',
],
'meilisearch' => [
'tab_header' => 'Meilisearch',
'enabled' => '是否啟用 Meilisearch',
'enabled_help' => '請先安裝配置好並導入數據再啟用,否則種子搜索無數據',
'search_description' => '是否搜索描述',
'search_description_help' => "默認:'否'。若為'是',描述中包含關鍵字也會返回,命中的結果可能較多。修改後需立即重新導入",
'default_search_mode' => '默認搜索模式',
'default_search_mode_help' => "默認:'準確'。'與'將進行分詞,'準確'不分詞",
],
'system' => [
'tab_header' => '系統',
'change_username_card_allow_characters_outside_the_alphabets' => '改名卡是否允許英文字母外的字符',
@@ -92,10 +101,6 @@ return [
'maximum_number_of_medals_can_be_worn' => '勛章最大可佩戴數',
'cookie_valid_days' => 'Cookie 有效天數',
'maximum_upload_speed_help' => '單種上傳速度超過此值賬號即刻禁用,單位 Mbps。如100 Mbps = 12.5 MB/s',
'meilisearch_enabled' => '是否啟用 Meilisearch',
'meilisearch_enabled_help' => '請先安裝配置好並導入數據再啟用,否則種子搜索無數據。',
'meilisearch_search_description' => 'Meilisearch 是否搜索描述',
'meilisearch_search_description_help' => "默認:'否'。若為'是',描述中包含關鍵字也會返回,命中的結果可能較多。修改後需立即重新導入",
],
],
'user' => [

View File

@@ -10,4 +10,8 @@ return [
'3' => '發布者',
'4' => 'IMDB鏈接'
],
'search_modes' => [
'and' => '與',
'exact' => '準確',
],
];