[WordPress] 外掛分享: Search Hero

首頁外掛目錄 › Search Hero
全新外掛
安裝啟用
尚無評分
40 天前
最後更新
問題解決
WordPress 4.9+ PHP 7.2+ v1.0.4 上架:2024-10-02

內容簡介

Search Hero 是一款提升 WordPress 搜尋功能的外掛,透過建立內容的搜尋索引,提供更快速且準確的搜尋結果。使用者可以依據相關性而非日期排序結果,讓搜尋體驗更為流暢。

【主要功能】
• 建立內容搜尋索引,提升搜尋速度
• 根據相關性排序搜尋結果
• 支援即時搜尋建議顯示
• 自動更新索引,無需手動重建
• 支援多種內容類型的搜尋

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.4) 或搜尋安裝

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

原文外掛簡介

WordPress searches your posts with a database LIKE query. It gets slower as your site grows, it cannot tell an important match from a passing mention, and it orders results by date rather than by how well they match.
Search Hero replaces that with a proper search index of your content, so results come back ranked by how relevant they actually are.
How results are ranked

Every word you search for has to appear in a post for it to match. The one exception is a word so common it turns up in almost every post on your site, like “the”, which tells us nothing about which post you want and is ignored.
Rare words count for more than common ones, so a post about your search term beats one that merely mentions it.
Words found close together score higher, so a search for several words favours posts where they appear as a phrase.
Matches in a short post count for more than the same matches buried in a long one.

As you type
Results appear under your search box as visitors type. Each search box covers one kind of content: a normal search box searches your posts, and a product search box searches products. There is a [search_hero_search post_type="product"] shortcode for a search box on any page, and the same instant results appear on the admin post list, where they take you straight to the editor.
What gets indexed
Every public post type that is searchable: posts, pages, custom post types, and products. Each one is indexed into its own tables, so Products can be rebuilt without touching Posts, and a rebuild of one leaves the rest searchable throughout. Choose which ones on the settings page; developers can narrow or widen the choices with the search_hero_indexed_post_types filter.
It stays up to date on its own
Index once after installing. From then on, publishing, editing, unpublishing, trashing, restoring and deleting content all update the index as they happen. There is nothing to re-run.
No external service
The index lives in your own database. Nothing about your content is sent anywhere, there is no API key, and there is no per search cost.

延伸相關外掛

文章
Filter
Mastodon