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

31 august 2025
The difference is Night and Day! Thanks you for this beautiful piece of work!
15 august 2025
I’m not a plugin fan, but relevanssi is a must have as it’s fantastic plugin (that wont kill your server) with great support
11 iulie 2025
This plugin is exactly what I needed. I’m so happy I found it. Having only the titles, excerpts. and a small amount of content from my recipe pages used in the built-in Wordpress search was really limiting. My taxonomies contained all kinds of information people would search for (ingredients, meal/course, dietary restrictions, tags) and with Relevanssi, this is all now searchable. And I see I can also add synonyms, which will be great for certain ingredients that are called different things depending on location (people will be able to search courgette and find my recipes with zucchini). In addition to this, I initially encountered an issue (completely of my own making) and the creator of the plugin was very responsive and quite easily managed to identify the problem once I provided enough detail of the issue. In less than 24 hours, my problem was solved. Thank you Mikko! Highly recommend this plugin.
8 mai 2025
This powerful plugin has revolutionised the complex search on my client’s site which contains tens of thousands of images with keywords. I had an issue with speed and the plugin author himself stepped in to point me in the right direction to fix it (which was not a problem with the plugin itself). Top marks for a great product from a great developer.
Citește toate cele 399 de 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.25.0

  • New feature: New filter hook relevanssi_index_excerpt can be used to control which excerpts are indexed and which are not.
  • Minor fix: The tribe_events shortcode is now blocked in indexing, as it caused problems.
  • Minor fix: Foolproofing the meta_query sorting to avoid errors from non-array values.