Relevanssi – A Better Search

Description

Relevanssi remplace la recherche standard de WordPress par un meilleur moteur de recherche avec beaucoup de fonctionnalités et d’options configurables. Vous obtenez de meilleurs résultats, une meilleure présentation des résultats – vos utilisateurs vous remercieront.

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. 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.

Fonctionnalités clés

  • Les résultats de recherche sont triés par pertinence, non par date.
  • Correspondances floues : recherche les concordances partielles si le mot complet ne retourne aucune correspondance.
  • Trouvez des documents qui correspondent soit juste à un seul terme de recherche (requête OU) ou exigez que tous les mots apparaissent (requête ET).
  • Recherchez les phrases avec guillemets, par exemple « phrase de recherche ».
  • Créez des extraits personnalisés qui affichent où l’occurrence a été réalisée, avec les termes de recherche mis en évidence.
  • Mettez en évidence les termes de la recherche dans les documents quand l’utilisateur clique sur les résultats de la recherche.
  • Recherchez parmi les commentaires, les étiquettes, les catégories et les champs personnalisés.
  • Compatible multisite.
  • bbPress support.

Fonctionnalités avancées

  • Ajustez les poids pour les titres, étiquettes et commentaires.
  • Journalisez les requêtes, affichez les requêtes les plus populaires et les requêtes récentes sans occurrences.
  • Limitez les recherches aux catégories et étiquettes en utilisant une variable cachée ou les réglages de l’extension.
  • Indexez les types de contenus personnalisés et les taxonomies personnalisées.
  • Indexez le contenu des codes courts.
  • Suggestions « Vouliez-vous dire ? » dans le style de Google, basées sur des recherches réussies d’utilisateurs.
  • Support for WPML multi-language plugin and Polylang.
  • Support for s2member membership plugin, Members, Groups and Simple Membership.
  • Advanced filtering to help hacking the search results the way you want.
  • Search result throttling to improve performance on large databases.
  • Disable indexing of post content and post titles with a simple filter hook.

Fonctionnalités premium (uniquement dans Relevanssi Premium)

  • Indexation du contenu des PDF.
  • Amélioration de la correction orthographique dans les suggestions « Vouliez-vous dire ? »
  • Recherche sur plusieurs sites de la même installation multisite.
  • Recherchez et indexez les profils d’utilisateurs.
  • Recherchez et indexez les pages de termes de taxonomie (catégories, étiquettes, taxonomies personnalisées).
  • Recherchez et indexez des colonnes arbitraires dans la table MySQL wp_posts.
  • Assignez des poids à tous types de contenus et taxonomies.
  • Assignez un poids supplémentaire aux nouveaux articles.
  • Laissez l’utilisateur choisir entre les recherches avec ET ou OU, utiliser l’opérateur + et – (ET et NON).
  • Mise en évidence des termes de recherche pour les visiteurs provenant de moteurs de recherches externes.
  • Exporter et importer les réglages..
  • Commandes WP CLI.

Relevanssi sur Facebook

You can find Relevanssi sur Facebook.

Merci

  • Cristian Damm for tag indexing, comment indexing, post/page exclusion and general helpfulness.
  • Marcus Dalgren for UTF-8 fixing.
  • Warren Tape for 2.5.5 fixes.
  • Mohib Ebrahim for relentless bug hunting.
  • John Calahan for extensive 4.0 beta testing.

Captures d’écran

  • Page Vue d’ensemble
  • Réglages de l’indexation
  • Réglages de la recherche
  • Réglages de la journalisation
  • Extraits et mises en évidence
  • Réglages des synonymes
  • Réglages des mots vides

Installation

  1. Installer l’extension depuis la page Extensions de WordPress.
  2. Activer l’extension.
  3. Go to the plugin settings page and build the index following the instructions there.
  4. C’est tout !

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.

Désinstallation

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.

FAQ

Instructions d’installation
  1. Installer l’extension depuis la page Extensions de WordPress.
  2. Activer l’extension.
  3. Go to the plugin settings page and build the index following the instructions there.
  4. C’est tout !

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.

Désinstallation

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.

Base de connaissances

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

Contextual help

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 ne fonctionne pas

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.

Où sont les logs de recherche de l’utilisateur ?

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

Displaying the relevance score

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

echo $post->relevance_score

to your search results template inside a PHP code block to display the relevance score.

Did you mean? suggestions

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

What is tf * idf weighing?

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.

Ainsi, le poids du mot dans un document augmente plus il apparaît dans ce document et moins il apparaît dans les autres documents.

What are stop words?

Chaque document est composé de plein de mots inutiles. Tous ces petits mots qui apparaissent dans à peu près tous les documents sont inutiles pour retrouver une information. En outre, leur poids dans la recherche de correspondance est très faible. De plus, retirer ces mots contribue à réduire la taille de l’index et accélère la recherche.

Avis

Phenomenal Plugin + Support

This plugin has all the features you could ever require to setup search the way you want it to.

The plugin owner also goes above and beyond to offer support for any other questions you may have to fix issues or get the plugin to work in a custom manner.

Destroys searching

At the beginning this plugin kinds of working fine, but later I found out that it does not find many words in the posts. Rebuild index several times, same result. After deactivating the plugin, those words are easily found by the default search engine. I don’t know this proble is because of the app’s new update or not, but this should not happen!

Great Product, Great Developer, Wonderful Human

I am two years new to the website business. I have, however, been a graphic designer for nearly 40 years. I purchased Relevanssi after reading so many positive reviews. I had some issues getting Relevanssi installed—not because of product, but because of where I am in the learning curve. I contacted Mikko and he got me all set up, including fixing some other issues I had created in Google, and which were sure to cause problems with Relevanssi. I can’t say enough positive things about Mikko. He responded to all my questions immediately, and I mean immediately. He never snarked, was always positive, and never made me feel like I don’t what I’m doing—which I often don’t! Mikko and his product are top-shelf. The last search plugin I used displayed way, way too many results. I was afraid all the search results would be overwhelming to the user. I like the way Relavanssi displays and allows you to narrow down results as you want.

Great for typical sites

Relevanssi is the plugin that I’ve included on most sites I’ve built in the past 4 years or so. The free version enhances WordPress search so much that users seem to actually use the search.

I like the Google-style result highlights the most, in addition to the actually relevant search results. The built in search in WordPress just doesn’t parse through enough data to provide relevant results.

The index it generates is too large for truly large sites, but that isn’t a problem until you have tens of thousands of posts and / or hundreds of thousands of users.

But at that point you should consider a different solution anyway, like Elasticsearch or Algolia. Relevanssi should run just fine without any performance problems in a 5$ / month hosting, if the environment in question is up to today’s standards.

Lire les 205 avis

Contributeurs & développeurs

« Relevanssi – A Better Search » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Relevanssi – A Better Search” a été traduit dans 6 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Relevanssi – A Better Search » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

4.0.10.1

  • The privacy features caused an error notice with certain Relevanssi configurations, and the plugin required WP 4.9.6.

4.0.10

  • Privacy: If you log search queries, Relevanssi will suggest some additional content to your privacy policy page.
  • Privacy: Relevanssi now supports the new Privacy Policy and Personal Data tools in WordPress 4.9.6.
  • Saving synonyms with quotes worked, but the synonyms showed up wrong.
  • Relevanssi could in some situations override navigation menu links with links to the user profiles or taxonomy terms found in the search. This update fixes that behaviour.
  • Random order works again; using orderby rand didn’t work properly. The rand(seed) format is also supported now.
  • Fixed quotes and apostrophes in Did you mean suggestions.

4.0.9

  • Fixes broken tag and category indexing and searching. If you use tags and categories, rebuild the index after updating.
  • Phrases were not highlighted correctly on documents. This is now fixed.
  • Shortcode fix: ‘wp_show_posts’ shouldn’t cause problems anymore.
  • New filter: relevanssi_indexing_restriction allows filtering posts before indexing.
  • New WooCommerce product visibility filtering tool makes WooCommerce product indexing faster.
  • MemberPress post controls were loose and showed drafts to searchers. That is now fixed.
  • Highlighting was too loose, even if matching was set to whole words.
  • Highlighting now works better in cases where there’s a hyphen or an apostrophe inside a word.

4.0.8

  • Fixed cases where Relevanssi added an ellipsis even if the excerpt was from the start of the post.
  • Highlighting now works with numeric search strings.
  • Improved highlighting for accented words. Thanks to Paul Ryan.
  • A surplus comma at the end of post exclusion setting won’t break the search anymore.
  • Fixed instructions for adjusting the throttle limit.

4.0.7

  • Recent post bonus is now applied to searches.
  • Exact term setting can now be disabled.
  • Users of Members plugin would have drafts appear in search results. This is now fixed.

4.0.6

  • Indexing bugs squashed.
  • Missing tag and category weight settings returned.
  • Fusion builder shortcodes are removed from excerpts.
  • MemberPress post control was backwards.
  • User searches page reset buttons fixed.
  • WPML language filter fix.