Popis
Relevanssi nahrazuje standardní WordPress vyhledávání lepším vyhledávačem, se spoustou funkcí a konfigurovatelných možností. Získáte lepší výsledky, lepší prezentaci výsledků – vaši uživatelé vám poděkují.
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.
Základní vlastnosti
- Výsledky hledání jsou řazeny podle relevance, nikoli podle data.
- Částečná shoda: pokud celá slova neodpovídají, vyhledají se podobná.
- Hledání dokumentů odpovídajících alespoň jednomu hledanému výrazu (operátor OR) anebo s výskytem všech slov (operátor AND).
- Vyhledávání fráze s uvozovkami, například „hledat frázi“.
- Vytváření vlastních stručných obsahů se zvýrazněnými hledanými řetězci, které zobrazují, kde byla nalezena shoda.
- Zvýraznění hledaných termínů v dokumentech, pokud uživatel na stránku přistoupí prostřednictvím výsledku hledání.
- Hledání komentářů, štítků, rubrik a vlastních polí.
- Multisite friendly.
- bbPress support.
- Gutenberg friendly.
Pokročilé funkce
- Nastavení váhy pro názvy, štítky a komentáře.
- Log dotazů zobrazuje nejčastější a nedávné dotazy bez shody.
- Omezení vyhledávání na rubriky a štítky pomocí skryté proměnné nebo nastavení pluginu.
- Indexování vlastních typů příspěvků a vlastních taxonomií.
- Indexování obsahu zkrácených kódů.
- Google styl „Měli jste na mysli?“ návrhy založené na úspěšných vyhledáváních uživatelů.
- Support for WPML multi-language plugin and Polylang.
- Support for s2member membership plugin, Members, Groups, Simple Membership and other membership plugins.
- Pokročilé filtrování pro zobrazení výsledků hledání požadovaným způsobem.
- Omezení výsledků hledání pro zlepšení výkonu nad rozsáhlou databází.
- Zákaz indexování obsahu příspěvku a nadpisu příspěvku pomocí jednoduchého filtru.
Prémiové funkce (pouze v Relevanssi Premium)
- Indexing attachment content (PDF, Office, Open Office).
- Vylepšená kontrola pravopisu korekce návrhů „Měli jste na mysli?“.
- Searching across multiple sites in the same multisite installation.
- Indexace a vyhledávání uživatelských profilů.
- Hledání a indexace stránek taxonomie (rubriky, štítky, vlastní taxonomie).
- Hledání a indexace libovolného sloupce v MySQL tabulce wp_posts.
- Přidání váhy na jakýkoli typ příspěvku a taxonomie.
- Přidání váhy pro nové příspěvky.
- Uživatel má možnost si vybrat mezi AND a OR vyhledáváním, používat + a – operátor (AND a NOT).
- Nastavení exportu/importu.
- WP CLI commands.
- Related posts.
- Redirects for searches.
Relevanssi na Facebooku
You can find Relevanssi na Facebooku.
Poděkování
- Cristian Damm za indexování štítků, komentářů, výjimky příspěvků/stránek a obecně za nápomocnost.
- Marcus Dalgren za opravu UTF-8.
- Warren Tape za opravu 2.5.5.
- Mohib Ebrahim za neúnavný lov chyb.
- John Calahan for extensive 4.0 beta testing.
Snímky obrazovky
Instalace
- Install the plugin from the WordPress plugin screen.
- Activate the plugin.
- Přejděte na nastavení pluginu a vytvořte index a postupujte podle pokynů.
- That’s it!
Žádné nejsou potřeba! Relevanssi využívá standardní vyhledávací formulář a obvykle nepotřebuje žádné změny v šabloně výsledků vyhledávání.
Pokud hledání nezobrazuje žádné výsledky, vaše šablona má v sobě pravděpodobně query_posts() volání. To odstaví Relevanssi. Další informace naleznete na nejdůležitější ladění a Relevanssi trik.
Odinstalace
Chcete-li plugin odinstalovat, odstraňte plugin pomocí běžných nástrojů pro správu WordPress (na stránce Pluginy, musíte plugin nejprve deaktivovat, poté odstranit). Pokud odstraníte soubory pluginu ručně, databázové tabulky a nastavení zůstane zachováno.
Časté dotazy
- Znalostní báze
-
V Relevanssi znalostní bázi (v angličtině) můžete najít řešení a odpovědi.
- 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 nefunguje
-
Pokud se po instalaci a aktivaci Relevanssi výsledky nezměnily, nejpravděpodobnějším důvodem je, že ve vaší v šabloně je pro výsledky hledání použito volání
query_posts()
. To Relevanssi trochu mate. Zkuste volání query_posts odebrat a uvidíte, co se stane. - Nefunguje vyhledávání slov s apostrofy nebo pomlčkami
-
Please read Words with punctuation can’t be found. This is a Relevanssi feature, but you can fix it from Relevanssi indexing settings.
- Kde jsou logy toho, co uživatelé vyhledávali?
-
See the top of the admin menu. There’s ‚User searches‘.
- Zobrazení skóre důležitosti
-
Relevanssi ukládá skóre důležitosti, používané k řazení výsledků v proměné $post. Stačí přidat něco jako
echo $post->relevance_score
do šablony výsledků vyhledávání uvnitř bloku PHP kódu a skóre důležitosti se bude zobrazovat.
- Návrhy Měli jste na mysli?
-
Relevanssi offers Google-style „Did you mean?“ suggestions. See „Did you mean“ suggestions in the Knowledge Base for more details.
- Co je to váha tf * idf?
-
Jde o základní poměrové schéma použité při vyhledávání informací. Tf značí frekvenci výrazu (term frequency) zatímco idf je převrácená frekvence dokumentu (inverted document frequency). Frekvence výrazu je počet výskytů výrazu který se vyskytuje v dokumentu, naopak frekvence dokumentu je počet dokumentů v databazi s výskytem daného slova.
Takže váha každého slova v dokumentu roste tím více, čím častěji se v dokumentu vyskytuje a naopak klesá četností výskytu takového slova v jiných dokumentech.
- Co jsou to stop slova / negativní slovník?
-
Každá databáze dokumentů je plná neužitečných slov. Všechna tato malá slovíčka, která se objevují téměř v každém dokumentu jsou úplně zbytečná pro účel vyhledání informací. Naopak jejich převrácená frekvence v dokumentech je nízká, takže nikdy nemají přílišnou váhu při hledání shod. Smazání takových slov navíc pomáhá udržet index menší a vyhledávání rychlejší.
Recenze
Autoři
Relevanssi – A Better Search je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.
SpolupracovníciPlugin „Relevanssi – A Better Search“ byl přeložen do 6 jazyků. Děkujeme všem překladatelům za jejich pomoc.
Přeložte “Relevanssi – A Better Search” do svého jazyka.
Zajímá vás vývoj?
Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.
Přehled změn
4.4.1
- Major fix: Returns the missing stopwords.
4.4.0
- New feature: It’s now possible to exclude image attachments from the index with a simple setting on the indexing settings page.
- New feature: Page builder short codes are now removed in Relevanssi indexing. This should reduce the amount of garbage data indexed for posts in Divi, Avada and other page builder themes.
- Changed behaviour: The
relevanssi_page_builder_shortcodes
filter hook is now applied both in indexing and excerpts, and has a second parameter that will inform you of the current context. - Minor fix: Stopwords weren’t case insensitive like they should. They are now. Also, stopwords are no longer stored in the
wp_relevanssi_stopwords
database table, but are now stored in therelevanssi_stopwords
option. - Minor fix: A comma at the end of the custom field indexing setting made Relevanssi index all custom fields. This doesn’t happen anymore and trailing commas are automatically removed, too.
- Minor fix: Accessibility improvements all around the admin interface. Screen reader support should be better, feel free to report any further ways to make this better.
- Minor fix: Doing searches without search terms and with the throttle disabled could cause problems. Relevanssi now makes sure throttle is always on when doing termless searches.
- Minor fix: Untokenized search terms are used for building excerpts, which makes highlighting in excerpts work better.
- Minor fix: Indexing did not adjust the number of posts indexed at one go like it should.
4.3.4
- New feature: You can now give Gutenberg blocks a CSS class
relevanssi_noindex
to exclude them from being indexed. Relevanssi will not index Gutenberg blocks that have the class. - New feature: Relevanssi automatically skips some custom fields from common plugins that only contain unnecessary metadata.
- New feature: The search results breakdown is added to the post objects and can be found in $post->relevanssi_hits. The data also includes new fields and the breakdown from the excerpt settings page can now show author, excerpt, custom field and MySQL column hits.
- New feature: Relevanssi can now index Ninja Tables table content. This is something of an experimental feature right now, feedback is welcome.
- New feature: New filter hook
relevanssi_indexing_query
filters the indexing query and is mostly interesting for debugging reasons. - Minor fix: Deleted and trashed comment contents were not deindexed when the comment was removed. That has been corrected now.
- Minor fix: Phrase matching is now applied to attachments as well, including the attachments indexed for parent post.
- Minor fix: Phrase matching only looks at custom fields that are indexed by Relevanssi.
- Minor fix: Exact match bonus now uses the original query without synonyms added for the exact match check.
- Minor fix: Paid Membership Pro filtering is only applied to published posts to prevent drafts from showing up in the search results.
4.3.3
- New feature: New filter hook
relevanssi_indexing_adjust
can be used to stop Relevanssi from adjusting the number of posts indexed at once during the indexing. - New feature: New filter hook
relevanssi_acf_field_value
filters ACF field values before they are indexed. - New feature: New filter hook
relevanssi_disabled_shortcodes
filters the array containing shortcodes that are disabled when indexing. - Removed feature: The
relevanssi_indexing_limit
option wasn’t really used anymore, so it has been removed. - Changed behaviour: Indexing exclusions from Yoast SEO and SEOPress are applied in a different way in the indexing, making for a smoother indexing process.
- Changed behaviour: WP Table Reloaded support has been removed; you really shouldn’t be using WP Table Reloaded anymore.
- Minor fix: Relevanssi won’t choke on ACF fields with array or object values anymore.
- Minor fix: Relevanssi uninstall process left couple of Relevanssi options in the database.
- Minor fix: WPML language filter didn’t work when
fields
was set toids
orid=>parent
.
4.3.2
- New feature: SEOPress support, posts marked „noindex“ in SEOPress are no longer indexed by Relevanssi by default.
- Changed behaviour: Membership plugin compatibility is removed from
relevanssi_default_post_ok
function and has been moved to individual compatibility functions for each supported membership plugin. This makes it much easier to for example disable the membership plugin features if required. - Minor fix: The
searchform
shortcode now works better with different kinds of search forms. - Minor fix: Yoast SEO compatibility won’t block indexing of posts with explicitly allowed indexing.
- Minor fix: The
relevanssi_the_tags()
function printed out plain text, not HTML code like it should. The function now also accepts the post ID as a parameter. - Minor fix: Excerpt creation and highlighting have been improved a little.
4.3.1.1
- Remove notice about undefined index.
4.3.1
- Adding a missing file.
4.3.0
- New feature: Multi-phrase searches now respect AND and OR operators. If multiple phrases are included in an OR search, any posts with at least one phrase will be included. In AND search, all phrases must be included.
- New feature: Admin search has been improved: there’s a post type dropdown and the search is triggered when you press enter. The debug information has a
div
tag around it with the iddebugging
, so you can hide them with CSS if you want to. The numbering of results also makes more sense. - New feature: The date parameters (
year
,monthnum
,w
,day
,hour
,minute
,second
,m
) are now supported. - New feature: New filter hook
relevanssi_indexing_limit
filters the default number of posts to index (10). If you have issues with indexing timing out, you can try adjusting this to a smaller number like 5 or 1. - New feature: Support for Paid Membership Pro added.
- New feature: WordPress SEO support, posts marked „noindex“ in WordPress SEO are no longer indexed by Relevanssi by default.
- Removed feature: qTranslate is no longer supported.
- Major fix: Tax query searching had some bugs in it, manifesting especially into Polylang not limiting the languages correctly. Some problems with the test suites were found and fixed, and similar problems won’t happen again.
- Minor fix: Admin search only shows editing options to users with enough capabilities to use them.
- Minor fix: Phrase searching now uses filterable post statuses instead of a hard-coded set of post statuses.
- Minor fix: The plugin action links were missing on the Plugins page list, they’re back now.
- Minor fix: Search terms with slashes won’t cause errors anymore.
- Minor fix: Relevanssi admin pages have been examined for accessibility and form labels have been improved in many places.
- Deprecated:
relevanssi_get_term_taxonomy()
function is deprecated and will be removed at some point in the future.