Relevanssi – A Better Search

Descriere

Relevanssi replaces the standard WordPress search with a better search engine, with lots of features and configurable options. You’ll get better results, better presentation of results – your users will thank you.

This is the free version of Relevanssi. There’s also Relevanssi Premium, which has added features. For more information about Premium, see Relevanssi.com.

Do note that using Relevanssi may require large amounts (hundreds of megabytes) of database space (for a reasonable estimate, multiply the size of your wp_posts database table by three). If your hosting setup has a limited amount of space for database tables, using Relevanssi may cause problems. In those cases use of Relevanssi cannot be recommended.

Funcționalități importante

  • Rezultatele de căutare sunt sortate în ordinea relevanței, nu după dată.
  • Potrivire neclară: potrivește cuvinte parțiale dacă cuvintele întregi nu se potrivesc.
  • Find documents matching either just one search term (OR query) or require all words to appear (AND query).
  • Search for phrases with quotes, for example „search phrase”.
  • Create custom excerpts that show where the hit was made, with the search terms highlighted.
  • Highlight search terms in the documents when user clicks through search results.
  • Search comments, tags, categories and custom fields.
  • Multisite friendly.
  • Suport bbPress.
  • Gutenberg friendly.

Funcționalități avansate

  • Adjust the weighting for titles, tags and comments.
  • Log queries, show most popular queries and recent queries with no hits.
  • Restrict searches to categories and tags using a hidden variable or plugin settings.
  • Indexează tipurile de articol personalizat și taxonomiile personalizate.
  • Indexează conținutul scurt-codurilor.
  • Google-style „Did you mean?” suggestions based on successful user searches.
  • Support for WPML multi-language plugin and Polylang.
  • Support for s2member membership plugin, Members, Groups, Simple Membership and other membership plugins.
  • Advanced filtering to help hacking the search results the way you want.
  • Accelerarea rezultatelor de căutare pentru a îmbunătăți performanța pentru baze de date mari.
  • Dezactivează indexarea conținutului articolelor și titlurilor articolelor cu un cârlig simplu de filtrare.

Premium features (only in Relevanssi Premium)

  • Indexarea conținutului atașamentelor (PDF, Office, Open Office).
  • Improved spelling correction in „Did you mean?” suggestions.
  • Căutarea pe mai multe site-uri din aceeași instalare multi-site.
  • Search and index user profiles.
  • Search and index taxonomy term pages (categories, tags, custom taxonomies).
  • Search and index arbitrary columns in wp_posts MySQL table.
  • Assign weights to any post types and taxonomies.
  • Assign extra weight to new posts.
  • Let the user choose between AND and OR searches, use + and – operator (AND and NOT).
  • Setări pentru export și import.
  • comenzi WP-CLI.
  • Articole similare.
  • Redirecționări pentru căutări.

Mulțumesc

  • Cristian Damm for tag indexing, comment indexing, post/page exclusion and general helpfulness.
  • Marcus Dalgren pentru corectarea UTF-8.
  • Warren Tape pentru corecțiile la 2.5.5.
  • Mohib Ebrahim for relentless bug hunting.
  • John Calahan pentru testarea extensivă a versiunii beta 4.0.

Capturi ecran

  • Pagină Prezentare generală
  • Setări indexare
  • Setări căutare
  • Setări jurnalizare
  • Rezumate și evidențieri
  • Setări sinonime
  • Setări cuvinte stop

Instalare

  1. Instalează modulul din ecranul Module WordPress.
  2. Activează modulul.
  3. Go to the plugin settings page and build the index following the instructions there.
  4. Asta e tot!

Relevanssi uses the standard search form and doesn’t usually need any changes in the search results template.

If the search does not bring any results, your theme probably has a query_posts() call in the search results template. That throws Relevanssi off. For more information, see The most important Relevanssi debugging trick.

Dezinstalez

To uninstall the plugin remove the plugin using the normal WordPress plugin management tools (from the Plugins page, first Deactivate, then Delete). If you remove the plugin files manually, the database tables and options will remain.

Întrebări frecvente

Bază de cunoștințe

You can find solutions and answers at the Relevanssi Knowledge Base.

Ajutor contextual

Answers to many common problems can be found from the contextual menu. Just click „Help” in the top right corner of your WordPress admin dashboard on the Relevanssi settings page.

Relevanssi nu funcționează

If you the results don’t change after installing and activating Relevanssi, the most likely reason is that you have a call to query_posts() on your search results template. This confuses Relevanssi. Try removing the query_posts() call and see what happens.

Searching for words with ampersands or hyphens doesn’t work

Please read Words with punctuation can’t be found. This is a Relevanssi feature, but you can fix it from Relevanssi indexing settings.

Unde sunt jurnalele de căutare ale utilizatorilor?

See the top of the admin menu. There’s ‘User searches’.

Afișarea punctajului pentru relevanță

Relevanssi stores the relevance score it uses to sort results in the $post variable. Just add something like

echo $post->relevance_score

în șablonul rezultate de căutare în interiorul unui bloc cod PHP pentru a afișa punctajul pentru relevanță.

Ai vrut să spui sugestii?

Relevanssi offers Google-style „Did you mean?” suggestions. See „Did you mean” suggestions in the Knowledge Base for more details.

Ce este ponderea tf * idf?

It’s the basic weighing scheme used in information retrieval. Tf stands for term frequency while idf is inverted document frequency. Term frequency is simply the number of times the term appears in a document, while document frequency is the number of documents in the database where the term appears.

Astfel, ponderea unui cuvânt pentru un document crește cu cât acesta apare mai des în document și cu cât apare mai rar în alte documente.

Ce sunt cuvintele stop?

Fiecare bază de date cu documente este plină de cuvinte inutile. Toate cuvintele mici care apar în aproape fiecare document sunt complet inutile în scopul recuperării informațiilor. Practic, frecvența lor inversată în documente este foarte scăzută, deci ele nu au niciodată prea multă putere în potrivire. De asemenea, înlăturarea acestor cuvinte ajută la micșorarea indexului și la o căutare mai rapidă.

Recenzii

21 martie 2026
I was really at my wits’ end because the keyword ‘pasta’ couldn’t be found. So I got in touch with support and Mikko helped me straight away. I’d tried to sort it out on my own beforehand, but without success. I’m so glad it’s finally worked out! Thank you so much, Mikko, for your quick help! Brilliant!!!!
28 noiembrie 2025
Been using it for years on various big sites, multisite networks, etc that I’ve developed and it will always be my go-to search plugin. Works fantastically out of the box!- Great search results- Fast and light on your server resources- So many useful customisation options available in admin- PDF/Doc Indexing in Premium is ♥️But where it really comes into its own league, is when you have special requirements that no plugin could serve out of the box. There are loads of useful filters and actions to hook into, all super well documented. The Plugin code itself is very clean and readable, so if your requirement is really obscure you can always look under the hood and see what’s possible. (Usually anything is possible one way or the other.)And if you still get stuck, the support is the best.Hands down one of true unicorns in a world of plugin enshittification.Never change, Mikko!
31 august 2025
The difference is Night and Day! Thanks you for this beautiful piece of work!
Citește toate cele 404 recenzii

Contributori și dezvoltatori

„Relevanssi – A Better Search” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„Relevanssi – A Better Search” a fost tradus în 17 locale. Mulțumim traducătorilor pentru contribuția lor.

Tradu „Relevanssi – A Better Search” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

4.26.1

  • Changed behaviour: The relevanssi_results filter hook gets the search query as a second parameter.
  • Changed behaviour: Exact match bonus was added to posts once per search term. Now it’s applied once per post.
  • Minor fix: Exact match bonus is now significantly faster when processing large posts.
  • Minor fix: Post part targeting with phrases is now more precise and doesn’t include false matches. New post part tag ‘media’ is available to target attachment content.

4.26.0

  • Security: Fixes a vulnerability where a contributor-level user could make a SQL injection.
  • Minor fix: Relevanssi now ignores the contents of SVG tags.
  • Minor fix: The relevanssi_missing_sort_key hook did not fire for menu_order. It does now, if menu_order is 0.
  • Minor fix: Relevanssi no longer breaks image cloning in MultilingualPress.
  • Minor fix: Synced pattern contents are now indexed recursively so that, for example, the relevanssi_noindex class works.