plugin-icon

PrismSearch

Автор: Zoltan Csergo·
Fast frontend AJAX search for WordPress posts, pages, public custom post types and taxonomies with an optimized inverted index.
Версия
1.0.3
Последние изменения
Jul 11, 2026
PrismSearch

PrismSearch builds a custom inverted index for fast frontend search and provides a live AJAX search box through a simple shortcode.

Features

  • Fast inverted-index based search.
  • Frontend AJAX search shortcode.
  • Search indexing for posts, pages and public custom post types.
  • Indexing for selected public taxonomy terms.
  • Frontend metadata display in live search results.
  • Configurable NLP language for tokenization.
  • Fuzzy typo matching fallback.
  • Optional replacement for the default WordPress search results page.
  • Search rate limiting for live search requests (50 requests per IP address per minute by default; configurable or disable with 0).
  • Live index updates when selected content is saved, updated, trashed or deleted.
  • Optional frontend.css loading for theme authors who want to write their own CSS.
  • Optional Enter key redirect to the full WordPress search results page.
  • Template overrides from your theme.

Supported NLP languages

PrismSearch includes NLP processors for the following language codes. The selected language is used for tokenization and search processing.

  • English: en
  • German: de
  • French: fr
  • Spanish: es
  • Portuguese: pt
  • Italian: it
  • Dutch: nl
  • Danish: da
  • Swedish: sv
  • Norwegian: no
  • Finnish: fi
  • Polish: pl
  • Czech: cs
  • Slovak: sk
  • Slovenian: sl
  • Croatian: hr
  • Serbian: sr
  • Bulgarian: bg
  • Romanian: ro
  • Hungarian: hu
  • Greek: el
  • Turkish: tr
  • Russian: ru
  • Ukrainian: uk
  • Lithuanian: lt
  • Latvian: lv
  • Estonian: et
  • Indonesian: id
  • Vietnamese: vi
  • Japanese: ja
  • Chinese: zh
  • Korean: ko
  • Arabic: ar
  • Persian: fa
  • Hebrew: he
  • Thai: th

Some CJK and script-based languages use basic normalization and token support. Test the selected language processor with your own content before production use.

Shortcode

Add the live search box anywhere with:

[prismsearch]

Optional shortcode attributes:

[prismsearch min_chars="3" limit="10" placeholder="Search..."]

Enable or disable Enter key redirect per shortcode:

[prismsearch enter_redirect="1"] [prismsearch enter_redirect="0"]

Privacy and external services

PrismSearch performs indexing, tokenization and search locally inside WordPress. It does not send site content, search queries or user data to external services, and it does not load remote frontend or admin assets.

Included third-party libraries

PrismSearch includes Select2 4.1.0 for enhanced admin multi-select fields. Select2 is MIT licensed; the license file is included at assets/vendor/select2/LICENSE.md. The Select2 source project is available at https://github.com/select2/select2.

Templates and styling

PrismSearch loads its default frontend stylesheet unless disabled in the settings.

Developers can also disable the default stylesheet with:

add_filter( 'prismsearch_load_frontend_css', '__return_false' );

Template files can be overridden in your theme by placing files in:

template/prismsearch/

For example:

template/prismsearch/item.php
Проверено на
WordPress 7.1
Этот плагин можно скачать и использовать при .