@jasonwch/nodebb-plugin-meilisearch-r 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitattributes ADDED
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jason
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # Meilisearch Plugin for NodeBB (Refactored)
2
+ A plugin for integrating MeiliSearch with NodeBB (This plugin is inspired and refactored from the original [nodebb-plugin-meilisearch](https://github.com/oplik0/nodebb-plugin-meilisearch))
3
+
4
+ ***__Make sure to disable nodebb-plugin-dbsearch when using this plugin.__***
5
+
6
+ **Required existing Meilisearch instance. Set your URL and API Key in the ACP**
7
+
8
+ - Refactored for NodeBB 4.14 up.
9
+ - Updated to Meilisearch JS API 0.59.
10
+ - Fixed admin layout panel.
11
+ - Reindex / Force reindex all working as expected
12
+ - Composer suggestion optimization.
13
+ - Bug fixes from existing plugin.
14
+
15
+ \
16
+ ![admin page](demo/admin.png)
17
+ ![composer window](demo/composer.png)
package/demo/admin.png ADDED
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,26 @@
1
1
  {
2
2
  "name": "@jasonwch/nodebb-plugin-meilisearch-r",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "(Compatible with 4.14.X and refactored from original meilisearch plugin) A plugin for integrating MeiliSearch with NodeBB",
5
+ "author": {
6
+ "name": "JasonCH",
7
+ "email": "jasonwch@msn.com"
8
+ },
9
+ "contributors": [
10
+ {
11
+ "name": "oplik0",
12
+ "email": "j.blizniuk@samsung.com",
13
+ "url": "https://github.com/oplik0/nodebb-plugin-meilisearch"
14
+ }
15
+ ],
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/jasonwch/nodebb-plugin-meilisearch-r.git"
19
+ },
20
+ "bugs": {
21
+ "url": "https://github.com/jasonwch/nodebb-plugin-meilisearch-r/issues"
22
+ },
23
+ "license": "MIT",
5
24
  "main": "library.js",
6
25
  "scripts": {},
7
26
  "keywords": [
@@ -10,15 +29,10 @@
10
29
  "meilisearch",
11
30
  "shell"
12
31
  ],
13
- "author": {
14
- "name": "JasonCH",
15
- "email": "jasonwch@msn.com"
16
- },
17
- "license": "MIT",
18
32
  "nbbpm": {
19
33
  "compatibility": "^4.14.0"
20
34
  },
21
35
  "dependencies": {
22
- "meilisearch": "0.59.0"
36
+ "meilisearch": "^0.59.0"
23
37
  }
24
38
  }
package/plugin.json CHANGED
@@ -2,6 +2,7 @@
2
2
  "id": "nodebb-plugin-meilisearch-r",
3
3
  "name": "NodeBB meilisearch refactored",
4
4
  "description": "(Compatible with 4.14.X and refactored from original meilisearch plugin) A plugin for integrating MeiliSearch with NodeBB",
5
+ "url": "https://github.com/jasonwch/nodebb-plugin-meilisearch-r",
5
6
  "library": "./library.js",
6
7
  "hooks": [
7
8
  {
@@ -3,7 +3,7 @@
3
3
  "admin.connection": "Ustawienia połączenia",
4
4
  "admin.host": "Meilisearch URL",
5
5
  "admin.apiKey": "Klucz API",
6
- "admin.healthCheckInterval": "Odstęp pomiędzy między sprawdzeniami stanu MeiliSearch (w sekundach)",
6
+ "admin.healthCheckInterval": "Odstęp między sprawdzeniami stanu MeiliSearch (w sekundach)",
7
7
  "admin.search": "Ustawienia wyszukiwania",
8
8
  "admin.maxDocuments": "Maksymalna liczba zwracanych dokumentów",
9
9
  "admin.searchMinTermLength": "Minimalna długość wyszukiwanego słowa",
@@ -14,7 +14,7 @@
14
14
  "admin.rankingRulesFormHelp": "Użyj tego formatu do własnych zasad: 'attribute:asc' or 'attribute:desc'. By dowiedzieć się więcej zobacz dokumentację:",
15
15
  "admin.addRankingRule": "Dodaj zasadę sortowania",
16
16
  "admin.stopWords": "Słowa nieinformatywne",
17
- "admin.stopWordsHelp": "Słowa nieinformatywne będą ignorowane przez wyszukiwarnę. By dowiedzieć się więcej zobacz dokumentację:",
17
+ "admin.stopWordsHelp": "Słowa nieinformatywne są pomijane w zapytaniu tylko wtedy, gdy zawiera ono co najmniej jedno inne słowo. Jeśli całe zapytanie składa się wyłącznie ze słów nieinformatywnych, Meilisearch nadal wyszuka ten termin (nie zostanie zignorowany). Więcej informacji o zachowaniu słów nieinformatywnych w Meilisearch znajdziesz pod adresem:",
18
18
  "admin.stopWordsFormLabel": "Słowo nieinformatywne",
19
19
  "admin.stopWordsFormHelp": "By dowiedzieć się więcej zobacz dokumentację:",
20
20
  "admin.addStopWord": "Dodaj słowo nieinformatywne",
@@ -51,6 +51,8 @@
51
51
  "admin.lastReindexStatus": "Status",
52
52
  "admin.lastReindexTopics": "Tematy",
53
53
  "admin.lastReindexPosts": "Posty",
54
+ "admin.lastReindexSkippedDeletedTopics": "Pominięto (usunięte tematy)",
55
+ "admin.lastReindexSkippedDeletedPosts": "Pominięto (usunięte posty)",
54
56
  "admin.lastReindexError": "Błąd",
55
57
  "admin.reindexingCompleted": "Indeksowanie ukończone",
56
58
  "admin.reindexingCompletedBody": "Indeksowanie zakończone pomyślnie",
@@ -62,4 +64,4 @@
62
64
  "admin.indexingStartedBody": "Ponowne indeksowanie działa w tle. Postęp pojawi się poniżej.",
63
65
  "similar-topics-header": "Twój temat jest podobny do…",
64
66
  "esc": "esc"
65
- }
67
+ }
@@ -16,10 +16,10 @@
16
16
  "admin.stopWords": "停用词",
17
17
  "admin.stopWordsHelp": "只有当查询中至少包含一个非停用词时,停用词才会从查询中被移除。如果整个查询全部由停用词组成,Meilisearch 仍会使用该词进行搜索(不会忽略)。有关 Meilisearch 停用词行为的更多信息,请参阅:",
18
18
  "admin.stopWordsFormLabel": "停用词",
19
- "admin.stopWordsFormHelp": "如需了解更多信息,请阅读此处的文档",
19
+ "admin.stopWordsFormHelp": "如需了解更多信息,请阅读此处的文档:",
20
20
  "admin.addStopWord": "添加停用词",
21
21
  "admin.synonyms": "同义词",
22
- "admin.synonymsHelp": "为了使搜索结果更加相关,Meilisearch 应将其视为具有同等含义的词语。如需了解更多信息,请阅读此处的文档:",
22
+ "admin.synonymsHelp": "为了使搜索结果更加相关,Meilisearch 应将这些词语视为含义相同的词语。如需了解更多信息,请阅读此处的文档:",
23
23
  "admin.synonymsWordFormLabel": "词",
24
24
  "admin.synonymsSynonymsFormLabel": "同义词",
25
25
  "admin.synonymsFormHelp": "以逗号分隔的列表形式添加同义词(如 “单词、语句、短语”)",
@@ -51,15 +51,17 @@
51
51
  "admin.lastReindexStatus": "状态",
52
52
  "admin.lastReindexTopics": "主题",
53
53
  "admin.lastReindexPosts": "帖子",
54
+ "admin.lastReindexSkippedDeletedTopics": "已跳过(已删除的主题)",
55
+ "admin.lastReindexSkippedDeletedPosts": "已跳过(已删除的帖子)",
54
56
  "admin.lastReindexError": "错误",
55
- "admin.reindexingCompleted": "索引完成",
57
+ "admin.reindexingCompleted": "重新索引完成",
56
58
  "admin.reindexingCompletedBody": "重新索引已成功完成",
57
59
  "admin.settingsSaved": "设置已保存",
58
60
  "admin.settingsSavedBody": "您的设置已成功保存。",
59
- "admin.meiliUnreachable": "MeiliSearch 不可达",
60
- "admin.meiliUnreachableBody": "设置已保存,但 MeiliSearch 不可达。索引设置将在连接恢复后应用。",
61
+ "admin.meiliUnreachable": "MeiliSearch 无法连接",
62
+ "admin.meiliUnreachableBody": "设置已保存,但 MeiliSearch 无法连接。索引设置将在连接恢复后应用。",
61
63
  "admin.indexingStarted": "索引已开始",
62
64
  "admin.indexingStartedBody": "重新索引正在后台运行,进度将显示在下方。",
63
- "similar-topics-header": "你的主题类似于…",
65
+ "similar-topics-header": "您的主题类似于…",
64
66
  "esc": "esc"
65
- }
67
+ }