[WordPress] 外掛分享: Full-Text Search

首頁外掛目錄 › Full-Text Search
WordPress 外掛 Full-Text Search 的封面圖片
200+
安裝啟用
★★★★★
5/5 分(2 則評價)
68 天前
最後更新
問題解決
WordPress 5.5+ PHP 7.2+ v2.14.8 上架:2021-02-28

內容簡介

將網站搜尋功能改為全文搜尋。

將網站搜尋功能由 LIKE 搜尋改成日文字全文搜尋(使用 MySQL + Ngram 解析器或 Mroonga 引擎 + TokenMecab 解析器)。這會大幅提升搜尋效能。

搜尋純文字(純文本)而非 HTML 標籤,以避免 HTML 標籤被搜尋。

用於搜尋的資料(索引)會保存在專用的資料表中,不會更改現有的資料表結構或貼文資料(貼文資料表)。

可以搜尋 PDF、Word(doc、docx)、Excel 和 PowerPoint 檔案中的文字。目前不支援安全的 PDF 檔。

支援 WordPress 多站點。

搜尋字串選項

OR(大寫)- 結合多個搜尋。例如:foo OR bar
-- 排除詞彙。例如:foo -bar
""- 搜尋完全符合的字詞。例如:"foo bar"
*- 通配符搜尋。僅適用於 Mroonga。例如:foo*
()- 群組搜尋。僅適用於 Mroonga。例如:(foo OR bar) baz

操作環境

需要 MySQL 5.6 或更新版本,或 Mroonga 引擎。

強烈建議使用 Mroonga 引擎。使用 InnoDB 引擎處理大量資料時效能會明顯下降。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.14.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Full-Text Search」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Replaces site search with full-text search.
Replace the site search from LIKE search to Japanese full-text search (MySQL + Ngram parser or Mroonga engine + TokenMecab parser). This will significantly improve search performance.
Search for pure strings (plain text) without HTML tags. This will prevent HTML tags from being searched.
The data (index) for searching is stored in a dedicated table. It does not rewrite existing table structures or post data (posts table).
Searches for text in PDF, Word (doc, docx), Excel, and PowerPoint files. Secured PDF file are currently not supported.
It supports WordPress multisite.
Search string options

OR (uppercase letter) – Combine searches. Example: foo OR bar
- – Exclude words from the search. Example: foo -bar
"" – Search for an exact match. Example: “foo bar”
* – Search by wildcard. Mroonga only. Example: foo*
() – Grouping. Mroonga only. Example: (foo OR bar) baz

Operating environment
Requires MySQL 5.6 or later, or Mroonga engine.
Mroonga engine is strongly recommended. InnoDB engine performs significantly worse with large amounts of data.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon