Title: PrismSearch
Author: Zoltan Csergo
Published: <strong>11 Luglio 2026</strong>
Last modified: 31 Luglio 2026

---

Ricerca i plugin

![](https://ps.w.org/prismsearch/assets/banner-772x250.png?rev=3603811)

![](https://ps.w.org/prismsearch/assets/icon-256x256.png?rev=3603786)

# PrismSearch

 Di [Zoltan Csergo](https://profiles.wordpress.org/wteam/)

[Scarica](https://downloads.wordpress.org/plugin/prismsearch.1.0.4.zip)

 * [Dettagli](https://it.wordpress.org/plugins/prismsearch/#description)
 * [Recensioni](https://it.wordpress.org/plugins/prismsearch/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/prismsearch/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/prismsearch/#developers)

 [Supporto](https://wordpress.org/support/plugin/prismsearch/)

## Descrizione

PrismSearch builds a custom inverted index for fast frontend search and provides
a live AJAX search box through automatic theme integration, a native block or a 
simple shortcode.

#### Features

 * Fast inverted-index based search.
 * Frontend AJAX search shortcode.
 * Automatic integration with Twenty Twenty-Five, Storefront and Astra.
 * Automatic replacement of standard classic and block-based WordPress search forms.
 * Native dynamic PrismSearch block.
 * 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.
 * Optional browser voice input through the Web Speech API.
 * 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"]
    ```

Enable or disable voice input per shortcode:

    ```
    [prismsearch voice_search="1"]

    [prismsearch voice_search="0"]
    ```

Voice input uses the configured NLP language as the browser speech-recognition language.
Developers can override it with the `prismsearch_speech_language` filter. Mozilla
Firefox and Opera do not currently provide a usable SpeechRecognition implementation
for this feature, so voice search is unavailable in those browsers and the microphone
button remains hidden.

#### Automatic theme integration

Automatic theme integration is disabled by default and can be enabled under Settings
> PrismSearch > Frontend.

 * Twenty Twenty-Five: inserts the native PrismSearch block after the navigation
   in header template parts and header patterns. The block can be moved or removed
   in the Site Editor.
 * Storefront: replaces the built-in header product search at the same Storefront
   hook position.
 * Astra: replaces Astra Search elements added through the Header Builder.
 * Other themes: replaces existing standard classic WordPress search forms and Core
   Search blocks. It does not create a new search position when the theme has no
   search form.

WooCommerce products must be selected under Content and the index must be built 
before product results are available. Existing content-type selections are never
changed automatically.

Developers can disable automatic integration with:

    ```
    add_filter( 'prismsearch_automatic_theme_integration', '__return_false' );
    ```

#### Privacy and external services

PrismSearch performs indexing, tokenization and search locally inside WordPress.
It does not load remote frontend or admin assets.

When voice search is disabled, PrismSearch does not access the visitor microphone.
When voice search is enabled and the visitor activates the microphone button, speech
recognition is handled by the browser Web Speech API. Depending on the browser and
platform, audio may be processed locally or by a service selected by the browser
vendor. PrismSearch does not receive or store microphone audio; it only receives
the recognized text in the search input and submits it as a normal search query.

#### 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
    ```

## Screenshot

[⌊PrismSearch settings screen with content, frontend, NLP language, fuzzy search,
security and advanced sections.⌉⌊PrismSearch settings screen with content, frontend,
NLP language, fuzzy search, security and advanced sections.⌉[

PrismSearch settings screen with content, frontend, NLP language, fuzzy search, 
security and advanced sections.

[⌊Live AJAX search dropdown on the frontend.⌉⌊Live AJAX search dropdown on the frontend
.⌉[

Live AJAX search dropdown on the frontend.

[⌊Index management screen with progress indicator and rebuild controls.⌉⌊Index management
screen with progress indicator and rebuild controls.⌉[

Index management screen with progress indicator and rebuild controls.

[[

## Blocchi

Questo plugin fornisce 1 blocco.

 *   PrismSearch

## Installazione

 1. Upload the `prismsearch` folder to the `/wp-content/plugins/` directory, or install
    the plugin ZIP through the WordPress Plugins screen.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Go to Settings > PrismSearch.
 4. Select posts, pages, public custom post types and any taxonomy terms you want PrismSearch
    to index.
 5. Select frontend meta keys if you want to display metadata in live search results.
 6. Click Build Index.
 7. With Twenty Twenty-Five, Storefront or Astra, verify the automatically integrated
    search. For other placements, insert the PrismSearch block or add `[prismsearch]`
    to a page, post, widget or theme template.

After changing indexed content, taxonomy or NLP language settings, build the index
again.

## FAQ

### Does PrismSearch replace the default WordPress search?

It can. Enable “Override default WordPress search” in the PrismSearch settings to
use PrismSearch results on the regular WordPress `?s=` search results page.

### Can PrismSearch appear without a shortcode?

Yes. Enable Automatic theme integration under Settings > PrismSearch > Frontend.
Twenty Twenty-Five then receives a PrismSearch block in the header, Storefront receives
PrismSearch in place of its header product search, Astra Search elements are replaced,
and existing standard WordPress search forms are replaced in other themes. You can
also insert the native PrismSearch block manually.

### What content can PrismSearch index?

PrismSearch indexes posts, pages, selected public custom post types and selected
public taxonomy terms.

### Can I display custom meta fields in live search results?

Yes. Select the fields under “Frontend meta keys” to include those values in frontend
AJAX results. These fields are displayed only; they are not indexed for search.

### Does PrismSearch support typo tolerance?

Yes. Enable fuzzy typo matching in the settings. Fuzzy matching runs as a fallback
when normal search returns fewer results than the configured threshold.

### What is the default live-search rate limit?

PrismSearch allows 50 frontend search requests per IP address per minute by default.
Change this value in Settings > PrismSearch > Security, or set it to 0 to disable
rate limiting.

### Why do I need to build the index?

PrismSearch uses its own optimized search index. The index must be built after installation
and rebuilt after changing indexed content or language settings.

### Does PrismSearch update the index automatically?

Yes, if live index updates are enabled. The plugin can reindex selected content 
when it is saved, updated, trashed or deleted.

### Can I disable the plugin frontend CSS?

Yes. Enable “Disable frontend.css” in the settings if you want to write your own
CSS. Developers can also use the `prismsearch_load_frontend_css` filter.

### Can Enter open the full search results page?

Yes. Enable “Redirect on Enter” in the settings, or use `enter_redirect="1"` in 
the shortcode.

### Does PrismSearch support voice search?

Yes. Enable “Voice search” in the frontend settings, or use `voice_search="1"` in
the shortcode. A microphone button is shown only when the visitor browser exposes
the Web Speech API in a secure context. The browser handles microphone permission
and speech recognition. Mozilla Firefox and Opera do not currently provide a usable
SpeechRecognition implementation for this feature.

### Can I customize result templates?

Yes. Copy the plugin template files into your theme under `template/prismsearch/`
and edit them there.

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“PrismSearch” è un software open source. Le persone che hanno contribuito allo sviluppo
di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Zoltan Csergo ](https://profiles.wordpress.org/wteam/)

[Traduci “PrismSearch” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/prismsearch)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/prismsearch/) segui
il [repository SVN](https://plugins.svn.wordpress.org/prismsearch/), segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/prismsearch/)
tramite [RSS](https://plugins.trac.wordpress.org/log/prismsearch/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

 * Preserve the active final query token for live prefix matching when NLP removes
   it as a stopword.
 * Keep stopword filtering unchanged for indexing and completed query terms.
 * Add optional Web Speech API voice input with a microphone button for supported
   browsers.
 * Use the configured NLP language for speech recognition and allow shortcode-level
   enable or disable control.
 * Keep the voice control hidden when speech recognition is unavailable in the visitor
   browser.
 * Add optional automatic theme integration for Twenty Twenty-Five, Storefront, 
   Astra and standard WordPress search forms.
 * Add a native dynamic PrismSearch block for block themes and manual Site Editor
   placement.
 * Warn Storefront users when WooCommerce products are not selected for indexing
   without changing existing content settings.
 * Run the Storefront header replacement after theme hooks are registered.

#### 1.0.3

 * Enable indexing for all selected public post types, including public custom post
   types.
 * Harden database table creation queries with prepared identifier placeholders 
   and non-interpolated charset/collation handling.
 * Improve attachment/inherit status handling for indexed content.

#### 1.0.2

 * Code cleanup and simplification.

#### 1.0.1

 * Review update.

#### 1.0.0

 * Initial release.

## Meta

 *  Versione **1.0.4**
 *  Ultimo aggiornamento **2 giorni fa**
 *  Installazioni attive **Meno di 10**
 *  Versione WordPress ** 6.2 o superiore **
 *  Testato fino alla versione **7.0.2**
 *  Versione PHP ** 7.4 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/prismsearch/)
 * Tag
 * [ajax search](https://it.wordpress.org/plugins/tags/ajax-search/)[frontend search](https://it.wordpress.org/plugins/tags/frontend-search/)
   [fuzzy search](https://it.wordpress.org/plugins/tags/fuzzy-search/)[search](https://it.wordpress.org/plugins/tags/search/)
   [site search](https://it.wordpress.org/plugins/tags/site-search/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/prismsearch/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

[Your review](https://wordpress.org/support/plugin/prismsearch/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/prismsearch/reviews/)

## Collaboratori

 *   [ Zoltan Csergo ](https://profiles.wordpress.org/wteam/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/prismsearch/)