跳到内容

Loupe Search

v1.7.4

Per Søderlind · 2026年8月4日 上架

A search enhancement plugin for WordPress that delivers fast, accurate, and typo-tolerant results.

正在使用
10 以下
评分
5.0 / 5
累计下载
1,393
最近更新
2026年11月18日
1 条评价需要 WordPress 7.0+已测试到 7.1.5PHP 8.3+

贡献者

截图

Dashboard tab showing index health per post type, batched reindexing, and the system status for the required PHP extensions.
Dashboard tab showing index health per post type, batched reindexing, and the system status for the required PHP extensions.
Fields tab for selecting which post types are indexed and configuring each field as indexable, filterable or sortable, with weight and sort direction.
Fields tab for selecting which post types are indexed and configuring each field as indexable, filterable or sortable, with weight and sort direction.
Search Behavior tab with tokenization, prefix search and typo tolerance settings.
Search Behavior tab with tokenization, prefix search and typo tolerance settings.
Search insights settings tab for turning on privacy-friendly search counting, choosing how long data is kept, opening the report and deleting all data.
Search insights settings tab for turning on privacy-friendly search counting, choosing how long data is kept, opening the report and deleting all data.
Contextual help tabs explaining field configuration options and search behavior settings.
Contextual help tabs explaining field configuration options and search behavior settings.
Search insights report under Dashboard → Search insights, with preset and custom periods, CSV export, top searches and searches without results.
Search insights report under Dashboard → Search insights, with preset and custom periods, CSV export, top searches and searches without results.
Contextual help on the Search insights report explaining the summary, periods, the two lists, the CSV export and what is stored.
Contextual help on the Search insights report explaining the summary, periods, the two lists, the CSV export and what is stored.

Loupe Search improves WordPress core search by maintaining its own index for fast lookups, supporting typo tolerance, phrase matching, basic exclusion operators, and per–post-type customization.

Core Features

  • 🚀 Index-backed search engine replacing the WordPress default
  • ⚡ Results served from a dedicated index, not the posts table
  • 🔄 Real-time index synchronization
  • 🌐 Support for multiple languages
  • 📦 Full custom post type integration
  • 📈 Integrated search performance metrics
  • ✅ Works with the WordPress default themes

Search Capabilities

  • 🔍 Typo-tolerant searching – find results even with misspellings
  • 💬 Phrase matching with quotation marks: "exact phrase"
  • ➖ Exclusion operator support (e.g., term -excluded)
  • 🔀 Multi-word search: term1 term2 finds content with both terms, or with either term when nothing contains both
  • 📖 Pagination support
  • Stemming support
  • Stop words recognition
  • Highlighting and cropped snippets on the default search results (opt-in) and via the REST API

Administration

  • Simple settings interface
  • Post type selection
  • Field configuration options
  • One-click reindexing
  • Exclude individual posts from search (post list column, Quick Edit, bulk actions, editor sidebar)
  • Opt-in Search insights: top searches and searches without results, stored as privacy-friendly daily totals (no IP, user or browser data). Report under Dashboard Search insights with fixed or custom date ranges, a Dashboard widget and CSV export
  • Processing time monitoring

Developer Features

  • 🛠️ Extensive filter system for customization
  • 📊 Performance monitoring and diagnostics
  • 🔧 Customizable indexing
  • Field weighting control

See the Search API documentation for REST endpoint details.

Add-ons

Install, activate and update Loupe Search Block, Loupe Semantic Search and Loupe Search Multilingual from one screen with Loupe Search Add-ons. Their updates then show up in Dashboard Updates like any other plugin.

  • 🔍 Loupe Search Block — A search block with live results as you type, a post type filter, category and tag facets, sorting and highlighted snippets. Falls back to a plain search form without JavaScript.
  • 🌐 Loupe Cross-Site Search — Search across every site in a WordPress multisite network from a single hub. Mirrors each site’s public content into one combined index and ships a ready-to-use Cross-Site Search block with site and post-type facets, sorting, and highlighted snippets. Requires WordPress multisite 7.0+ and Loupe Search active on the network.
  • 🧠 Loupe Semantic Search — Adds semantic retrieval to Loupe Search. Hybrid (keyword + semantic) search finds posts by meaning as well as by words, in the front-end search, the REST API and Loupe Search Block. Abilities return RAG passages with sources for AI agents. Embeddings come from a provider you connect through WordPress 7 AI Connectors. Requires Loupe Search 1.5.0+ and the AI plugin 1.5.0+.
  • 🗣️ Loupe Search Multilingual — One index per language for sites translated with Polylang or WPML. Each language gets its own stemming and stop words, and visitors only find posts in the current language. Requires Loupe Search 1.6.0+.
  • 📁 VMFA Search — Supercharges the native Media Library search field with fast, typo-tolerant search across title, filename, alt text, caption, and description. Requires the Virtual Media Folders plugin.

AI Agent Integration (WordPress Abilities API)

Loupe Search registers two abilities via the WordPress Abilities API (WordPress 6.9+) so AI agents and automation tools can discover and use search functionality natively:

  • loupe-search/search — Typo-tolerant full-text search across indexed post types. Supports phrase matching, exclusion, and OR operators. Publicly accessible.
  • loupe-search/get-post — Retrieve a single published post by ID. Publicly accessible.

These abilities are discoverable through the standard WordPress Abilities registry and require no additional Loupe Search configuration. As of 1.2.0 the ability namespace is loupe-search; the legacy wp-loupe/search and wp-loupe/get-post abilities still work but are deprecated aliases.

For an AI agent to use these abilities, install and activate the MCP Adapter plugin. It exposes registered abilities to agents over the Model Context Protocol (MCP).

Upgrading from the experimental MCP server? The MCP server, token service, and WP-CLI token commands were removed in 0.8.5. Use the Abilities API endpoints described above instead; no configuration migration is required.

Filters

These filters allow developers to customize Loupe Search’s behavior. As of 1.1.0 they use the loupe_search_* prefix; the old wp_loupe_* names still work but are deprecated and will be removed in a future major release.

  • loupe_search_post_types: Choose which post types are indexed.
  • loupe_search_index_protected: Index password-protected posts.
  • loupe_search_indexable_post_statuses: Index extra publicly viewable statuses.
  • loupe_search_is_indexable: Keep individual posts out of the index.
  • loupe_search_db_path: Move the index directory.
  • loupe_search_language: Override the stemming language.
  • loupe_search_stop_words: Change the common words ignored in searches.
  • loupe_search_partitions, loupe_search_post_partition, loupe_search_partition_language, loupe_search_query_partitions, loupe_search_partition_label: Split a post type’s index into partitions, for example one per language.
  • loupe_search_field_{$field_name}: Clean a core post field before indexing.
  • loupe_search_schema_{$post_type}: Add/remove fields, set weights and sorting.
  • loupe_search_is_safely_sortable_{$post_type}: Force a core field to be sortable.
  • loupe_search_is_safely_sortable_meta_{$post_type}: Correct meta-field sortability detection.
  • loupe_search_posts_per_page: Change results per page.
  • loupe_search_max_cacheable_query_length: Change which queries are written to the result cache.
  • loupe_search_order_results: Reorder or regroup results merged across post types.
  • loupe_search_advanced_hits: Rerank or add hits in REST POST /search before pagination.
  • loupe_search_highlight: Turn match highlighting on for the default search.
  • loupe_search_highlight_fields: Choose which fields are highlighted.
  • loupe_search_highlight_start_tag / loupe_search_highlight_end_tag: Change the tags wrapped around matches.
  • loupe_search_highlight_crop_fields: Choose which fields become cropped snippets.
  • loupe_search_highlight_crop_length: Change snippet length (in words).
  • loupe_search_highlight_crop_marker: Change the ellipsis on cropped snippets.
  • loupe_search_insights_should_count: Decide whether a visitor search is counted by Search insights.
  • loupe_search_settings_tabs: Add a tab to Settings Loupe Search.

Action: loupe_search_searched fires after a visitor search (first results page, or REST with countSearch: true), with the query, total hits and source. It fires before the Search insights checks, so searches rejected by loupe_search_insights_should_count still trigger it.

For signatures, defaults, and usage examples, see the filter documentation.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums