Linux 软件免费装
Banner图

Poiskovich – Site Search with Morphology & Relevance

开发者 wpmarkets
更新时间 2026年8月20日 18:10
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce search russian relevance morphology

下载

0.0.5 0.0.6 0.0.4

详情介绍:

The built-in WordPress search matches letters, not words. A visitor types "светильники" (lamps) and a page containing "светильник" (lamp) is not found. They type "кровати" (beds) and the product "кровать" (bed) is not found. The visitor concludes you do not sell it and leaves. Poiskovich reduces words to their stem, so every form of a word is searched as one word. Russian morphology Built-in WordPress search matches words literally, so a query for a plural or an inflected form misses posts that use another form of the same word. Poiskovich reduces both the query and the indexed text to word stems, so "светильники" finds "светильник". Stemming is enabled out of the box and needs no configuration. Features How it works The plugin builds its own index: posts are split into words in advance instead of being scanned on every visitor request. A LIKE search cannot use database indexes, and on a catalogue of a few thousand products that is noticeable even on good hosting. The index is compact — one row per "word + post" pair. New and edited posts are indexed automatically; a full rebuild is only needed after changing the settings or after a bulk content edit, and it runs in batches so it does not hit the PHP time limit. Nothing has to be changed in your theme: the plugin replaces the results of the standard WordPress search, so your theme template, pagination and everything else keep working. Privacy The plugin sends nothing anywhere. It makes no external requests and stores all data in your own database. The query log records the search text, the number of results and the date — no IP addresses and no visitor identifiers.

安装:

  1. Install and activate the plugin.
  2. Open Settings → Poiskovich and click "Rebuild index".
  3. That is all — search on your site already works the new way.

屏幕截图:

  • Relevance weights per field and per post type, plus query redirects.
  • The query log: searches that found nothing, and the most frequent searches.

常见问题:

Do I have to change my theme template?

No. The plugin substitutes its own results into the regular WordPress search, and your theme renders them as before.

What about a large catalogue?

The index is built in batches, and the search itself runs against the indexed table instead of scanning posts. Indexing thousands of products takes time once; after that posts are updated one at a time.

Does it work with WooCommerce?

Yes. Products are searched alongside posts, including their categories, tags and SKU if you point the plugin at that custom field.

Does it search inside PDF and office documents?

No. That requires parsing the files themselves, and we did not want to do it half-heartedly.

What if a word is stemmed incorrectly?

The algorithm does not know parts of speech and can be wrong on rare words. For those cases there is the poiskovich_stem_exceptions filter, where you can add your own "word → stem" pair.

Which languages are supported?

Russian morphology is what this plugin is built for. English and other languages are searched by exact word match, the same way WordPress does it.

更新日志:

0.0.6 0.0.5 0.0.4 0.0.3 0.0.2 0.0.1