Jump to content
View in the app

A better way to browse. Learn more.

PHP论坛人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Invision Community論壇啟用 Elasticsearch / OpenSearch 強化中文搜尋

Featured Replies

Invision Community論壇啟用 Elasticsearch / OpenSearch 強化中文搜尋

前置條件

已安裝 Elasticsearch/OpenSearch,並確認服務運行中 (預設 9200 Port)

論壇後端可正常連線至 Elasticsearch/OpenSearch,如果有問題,會顯示錯誤訊息

ES.png

論壇後端 -> 系統 -> 搜尋

搜尋引擎 -> Elasticsearch / OpenSearch (進階)

伺服器 -> http://localhost:9200

索引名稱 -> content

如果你有多個論壇,請為每個論壇使用不同的索引名稱,避免衝突


分析器 -> 中文/日文/韓文

-> 儲存




重建搜尋索引 (非常重要)

論壇後端 -> 系統 -> 搜尋 -> 右上方的 [重建搜尋索引] 按下去 -> 同意

建議回到儀表板,按下 [手動運行] 按鈕,來加快速度完成重建索引




重建索引期間,搜尋功能可能受影響,建議先通知會員

完成後,可至前端測試中文關鍵字搜尋,確認是否能搜尋

Edited by Jack

Create an account or sign in to comment

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.