Linux 软件免费装
Banner图

WPRAG Smart Search

开发者 wprag
更新时间 2026年7月12日 03:51
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

search ajax search live search taxonomy filter search block

下载

1.0.0 1.0.1

详情介绍:

WPRAG Smart Search adds a block-first search experience to WordPress. It ships a Gutenberg search block with live results and automatic taxonomy filter facets, all running locally on your own WordPress database with zero external calls and no account required. How it works The plugin builds a local inverted index with weighted relevance scoring, so a match in a higher-weighted zone (for example the title) can count for more than a match in the body, and it surfaces taxonomy facets automatically based on the current result set. Until you build the index, it falls back to a weighted WP_Query search, so search works the moment you activate the plugin. Features Privacy This plugin makes no external HTTP requests. All search runs locally against your WordPress database. It does not transmit visitor data off your site, and it bundles no analytics, tracking pixels, or affiliate links. You can verify this with any network inspector or server-side HTTP monitor. Want AI-powered semantic search? WPRAG (wprag.ai) is a separate managed service that provides AI-powered semantic search — search that understands meaning, not just keywords, and can generate answers from your content. This free plugin does not require WPRAG and has no connection to the service. If your site grows beyond what keyword search can handle (support docs, knowledge bases, large content libraries), the plugin's Upgrade tab explains the difference and how to get started. If you install the paid WPRAG Connector, this free plugin automatically stands down so there are no duplicate menus or blocks.

安装:

  1. Upload the plugin ZIP via Plugins > Add New > Upload, or install it directly from the Plugin Directory.
  2. Activate the plugin.
  3. Open the WPRAG menu in the admin sidebar:
  4. Search Settings — choose searchable post types, results per page, and toggles.
  5. Search Index — configure and build the local index (one click).
  6. Upgrade — learn about AI-powered semantic search.
  7. Add the WPRAG Search block to any page or post.

屏幕截图:

  • The same search block styled to match a clean, light theme. Every color, radius, and spacing value comes from the block's built-in style controls.
  • A dark, high-contrast treatment of the search block, achieved entirely with those same style controls — no custom CSS.
  • The Search Index tab: build the local inverted index in one click, then tune stemming, searchable post types, and indexed custom fields.
  • The Search Settings tab: choose searchable post types, results per page, term highlighting, live AJAX results, and core-search replacement.
  • The Synonyms tab: teach search that different words mean the same thing, applied at query time with no reindex required.
  • The Upgrade tab, explaining WPRAG's optional AI-powered semantic search (a separate managed service).

升级注意事项:

1.0.1 Rebrand to WPRAG Smart Search with refreshed icon and banner. No functional or database changes; safe to update. 1.0.0 Initial release.

常见问题:

Does this plugin require a WPRAG account?

No. It works completely standalone with no account and no external service. WPRAG is a separate, optional paid product for AI-powered semantic search; nothing in this plugin depends on it.

Does this plugin make any external HTTP requests?

No. All search happens locally using your WordPress database. You can verify this in your browser's network inspector or a server-side HTTP monitor.

Do I have to build the index?

No. Search works immediately using a weighted WP_Query engine. Building the local index (Search Index tab) makes search faster and more relevant on larger sites, and the plugin upgrades to it automatically once the build completes.

How does relevance scoring work?

Each content zone (title, excerpt, content, taxonomy terms, custom fields, author, comments) has a configurable weight. A match in a higher-weighted zone counts for more, and results are ordered by total score with newer content breaking ties.

Does it support custom post types and custom taxonomies?

Yes. All public post types and taxonomies are available in the settings and in the block's filter controls.

Can I style the search results?

Yes. All frontend markup uses scoped .wprag-search-block classes. Override them in your theme or child theme CSS, or use the block's built-in color, spacing, and typography controls.

Will this plugin slow down my site?

No. Queries are capped at 50 results per request, the public REST endpoint is rate-limited per IP, and the local index uses standard database indexes.

更新日志:

1.0.1 1.0.0