跳轉到內容
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.

Elasticsearch設置完成,才能搜尋中文

精選回覆

發表於

Elasticsearch設置完成,才能搜尋中文

 

你的Linux伺服器先安裝Elasticsearch

 

Elasticsearch必須至少運行6.0.0版本,但小於7.7.0版本

 

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

照著以下設置,預設值就好,不用改太多

搜尋引擎 -> Elasticsearch (進階)

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

Elasticsearch 索引名稱 -> content

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

其餘預設值就好,不用改太多

-> 確認

ES01.png

本文章最後於,由Jack編輯

  • 樓主

重建搜尋索引

首次安裝Elasticsearch,並在論壇後台配置完成後,你需要重建搜尋索引

之後,若你有一些大動作,例如:大量刪除文章、大量刪除會員帳號,也需要重建Elasticsearch索引

 

論壇後台 -> 系統 -> 搜尋 -> 右上角的 [重建搜尋索引]

ES02.png

 

 

 

按下 [確定] -> 等待 [正在重建搜尋索引] 訊息消失後

就到  [儀錶板] -> 按下 [手動運行]

ES03.png

 

 

 

 

按下 [現在運行] -> 然後等待,直到它運行完畢

ES04.png

建立帳號或登入後發表意見

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.