Title: Relevanssi Light
Author: Christoph Vielgrader
Published: <strong>11 kovo, 2020</strong>
Last modified: 18 gegužės, 2026

---

Ieškoti įskiepiuose

![](https://ps.w.org/relevanssi-light/assets/banner-772x250.jpg?rev=3529521)

![](https://ps.w.org/relevanssi-light/assets/icon-256x256.png?rev=3529521)

# Relevanssi Light

 Autorius [Christoph Vielgrader](https://profiles.wordpress.org/comesio/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/relevanssi-light.1.2.2.zip)

 * [Informacija](https://lt.wordpress.org/plugins/relevanssi-light/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/relevanssi-light/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/relevanssi-light/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/relevanssi-light/#developers)

 [Pagalba](https://wordpress.org/support/plugin/relevanssi-light/)

## Aprašymas

Relevanssi Light replaces the default WP search with a search that uses the fulltext
indexing capabilities of the database. It requires a modern version of MySQL or 
MariaDB.

Relevanssi Light is very powerful, as it leverages your database to do all the hard
work. Even large sites will return relevant results quickly and efficiently. Indexing
is fully automatic and always handled by your database server.

Thanks to Otto Kekäläinen (ottok) for the original idea, development push, and all
the feedback.

Feedback is welcome. I follow the support forums here, but you can also post an 
issue on [the Relevanssi Light GitHub page](https://github.com/msaari/relevanssi-light).
That’s where the active development happens.

#### Comparison between Relevanssi Light and Relevanssi

Relevanssi Light is a simple, easy-to-use tool with limited capabilities. It provides
very fast search results with better quality, but with little room for customization
and adjustment.

Relevanssi is a full-fledged search solution that offers lots of features and full
control over the search index and the search results. It generates useful excerpts
with the search terms highlighted, can provide „Did you mean” suggestions, keeps
logs and much more. Indexing and searching is much slower than with Relevanssi Light.

Relevanssi Premium adds more features to Relevanssi: it can index user profiles,
taxonomy terms, and PDF content, generate related posts lists and more.

## Diegimas

Relevanssi Light requires a database that supports fulltext indexing. Recent versions
of MySQL and MariaDB should be fine.

 1. Install the plugin
 2. Activate the plugin
 3. You’re done!

Relevanssi Light really is this simple to use. No changes are required to your templates
or other configuration. Relevanssi Light automatically adjusts the database queries
to use the fulltext index it creates.

Activating the plugin for the first time may cause a timeout. That’s just inconvenient,
not a real problem: all the database changes still happened and everything should
work just fine.

Relevanssi Light is kept very lean on purpose. There are few settings to adjust.
If you like adjusting settings, [Relevanssi](https://wordpress.org/plugins/relevanssi/)
offers lots of settings to adjust.

#### Natural language vs Boolean mode

Fulltext indexing offers two modes of operation. In Natural language mode there 
are no special operators and searches consists of simple keywords. In Boolean mode,
special operators can be used. For a list of these, see [Full-Text Index Overview](https://mariadb.com/kb/en/full-text-index-overview/)
in MariaBD Knowledge Base.

Relevanssi Light uses Natural language mode, as it’s the better choice for large
majority of cases. If you need to use Boolean mode, you can enable it by adding 
this to your theme `functions.php`:

    ```
    add_filter( 'relevanssi_light_boolean_mode', '__return_true' );
    ```

#### Including custom field content and more

By default Relevanssi Light includes post titles, post content and excerpts in the
fulltext index. Sometimes it’s necessary to include other content, for example custom
fields. Relevanssi Light facilitates this by adding a new column, `relevanssi_light_data`
to the `wp_posts` database tables. Contents of this column are added to the fulltext
index.

Relevanssi Light has a method of adding custom field content to this column. It 
is done by providing a list of custom field names with the `relevanssi_light_custom_fields`
filter hook. For example, in order to include the custom fields `_sku` and `seo_meta_desc`
in the index, you could add this to the theme `functions.php`:

    ```
    add_filter( 'relevanssi_light_custom_fields', function( $fields ) { return array( '_sku', 'seo_meta_desc' ); } );
    ```

Now when posts are saved, the custom fields will be added in the index. NOTE: This
is not automatically applied to all existing posts, only when the post is saved.

For more complicated cases, you can override the default `relevanssi_light_update_post_data()`
function Relevanssi Light uses (it’s a pluggable function; see the source code for
more details). For even more complicated cases, I would recommend using [Relevanssi](https://wordpress.org/plugins/relevanssi/),
which will give you a lot more power to control what is indexed.

## Atsiliepimai

![](https://secure.gravatar.com/avatar/6aa5cb272382d80450c1b9d260d65f3e6499f231990c98283fa2e41e767fd1c6?
s=60&d=retro&r=g)

### 󠀁[Exactly what I need](https://wordpress.org/support/topic/exactly-what-i-need-179/)󠁿

 [lukechinworth](https://profiles.wordpress.org/lukechinworth/) 3 birželio, 2025

The full Relevanssi is great, but this is usually all I need. Just a replacement
for the default WP search, with more relevant results, but without the complexity
of settings, indexing, extra tables, etc. Bonus: it works with jet smart filters
too, and it doesn’t mess up the post type filter like the base Relevanssi.

![](https://secure.gravatar.com/avatar/86f228f3f130d6b4400e31e3e9449289242291b581b374ebd8e725424889fa29?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin! Instant indexing](https://wordpress.org/support/topic/excellent-plugin-instant-indexing/)󠁿

 [Eder Ribeiro](https://profiles.wordpress.org/ribeiroeder/) 6 gegužės, 2024

Indexing custom fields in Wordpress is an old problem with the platform that can
generally only be solved with more complex and heavy plugins that require a total
change in the way you search. Even though I like the original Relevanssi, this light
version is much simpler to use, has a clean UI and doesn’t involve a lot of work
with many settings to manage, in addition to not needing posts to always be reindexed.
Thanks!

![](https://secure.gravatar.com/avatar/590c1a85322729f2345aa128684db6522b37951ea328215b6f501ed8439c0a91?
s=60&d=retro&r=g)

### 󠀁[„Light” is „Right”](https://wordpress.org/support/topic/light-is-right/)󠁿

 [Jimmy Lee](https://profiles.wordpress.org/shirtguy72/) 1 gegužės, 2022

Slightly better relevance was all I needed. Thanks Relevanssi Light!

![](https://secure.gravatar.com/avatar/595a425fd48bd5366eee1312cd051d71cf58fa24a0c63c132e6b90559e4b9b46?
s=60&d=retro&r=g)

### 󠀁[Poor relevancy in search results](https://wordpress.org/support/topic/poor-relevancy-in-search-results/)󠁿

 [creativewebguru](https://profiles.wordpress.org/creativewebguru/) 5 sausio, 2022
1 reply

I’m a big fan of Relevanssi (the original full plugin) but this time I thought I’d
try the light version. Our site is pretty simple. About 1000 posts. I just needed
something that could handle apostrophes in the post title gracefully (for example,
a search for „Jester’s Maze” brought up „not found” with the native Wordpress search
and we needed it to pull up the story with that title). This light plugin DID handle
the apostrophe properly, however the overall relevancy of the search results was
very poor. „Jester’s Maze” came up in the results, but not as the first result. 
In a search for „amber eyes”, I had to scroll several pages to find the story titled„
Amber Eyes”. If the story title is an exact match with the search terms (not counting
punctuation and capitalization), it should bring up that story FIRST. I had to uninstall
this light version and install the full-fledged Relevanssi plugin to get the search
results to behave properly. Disappointing, but I’m glad the bigger plugin is out
there.

![](https://secure.gravatar.com/avatar/59509299a504d9d662d2aa13d1b4147f921f0a494c692715aaf2592e100e6721?
s=60&d=retro&r=g)

### 󠀁[Great little plugin](https://wordpress.org/support/topic/great-little-plugin-283/)󠁿

 [squarestar](https://profiles.wordpress.org/squarestar/) 4 vasario, 2021

Works really well and the plugin author is very helpful 🙂 It’s also very well coded
with full documentation, as well as hooks and pluggable functions to allow for extension
and customisation.

![](https://secure.gravatar.com/avatar/2dddc4abf65cca78fa3663b35cfc1f0674d126fe73d8564d0d08f60f7da4f23a?
s=60&d=retro&r=g)

### 󠀁[Fast and Simple](https://wordpress.org/support/topic/fast-and-simple-45/)󠁿

 [Dan Greene](https://profiles.wordpress.org/dgreene423/) 2 liepos, 2020

Great replacement for the default WordPress search. Worked for a database of 25,000
posts when the default WordPress search would choke and bring down the site with
a database connection error.

 [ Perskaityti visus atsiliepimus (7) ](https://wordpress.org/support/plugin/relevanssi-light/reviews/)

## Programuotojai ir komandos nariai

“Relevanssi Light” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės 
surašyti toliau.

Autoriai

 *   [ Christoph Vielgrader ](https://profiles.wordpress.org/comesio/)
 *   [ Mikko Saari ](https://profiles.wordpress.org/msaari/)

Įskiepis “Relevanssi Light” išverstas į 1 kalbą. Dėkojame [vertėjams](https://translate.wordpress.org/projects/wp-plugins/relevanssi-light/contributors)
už jų darbą.

[Išverskite “Relevanssi Light” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/relevanssi-light)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/relevanssi-light/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/relevanssi-light/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/relevanssi-light/)
per [RSS](https://plugins.trac.wordpress.org/log/relevanssi-light/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 1.2.2

 * Fixes a minor SQL injection vulnerability.

#### 1.2.1

 * Fixes errors in admin searches.

#### 1.2

 * Makes the ‘Process all posts’ cover all posts, not just the post type `post`.

#### 1.1

 * Fixes the network activation. Now when Relevanssi Light is network activated 
   on a multisite installation, the database changes required are implemented on
   all network sites (as soon as someone visits the site admin dashboard).

#### 1.0

 * Adds an settings page to show information about the plugin.
 * Database alterations are done asynchronously to avoid plugin activation stalling.
 * Uninstalling the plugin in multisite context now works.

#### 0.1

 * First release, minimum viable product!

## Metainformacija

 *  Version **1.2.2**
 *  Atnaujinta **prieš 3 savaitės**
 *  Aktyvių instaliacijų **600+**
 *  WordPress versija ** 5.0 ar naujesnė **
 *  Ištestuota iki **7.0**
 *  PHP versija ** 7.2 ar naujesnė **
 *  Kalbos
 * [English (US)](https://wordpress.org/plugins/relevanssi-light/) ir [Swedish](https://sv.wordpress.org/plugins/relevanssi-light/).
 *  [Išversti į savo kalbą](https://translate.wordpress.org/projects/wp-plugins/relevanssi-light)
 * Žymos
 * [fulltext](https://lt.wordpress.org/plugins/tags/fulltext/)[search](https://lt.wordpress.org/plugins/tags/search/)
 *  [Daugiau](https://lt.wordpress.org/plugins/relevanssi-light/advanced/)

## Įvertinimai

 4.6 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/relevanssi-light/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/relevanssi-light/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/relevanssi-light/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/relevanssi-light/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/relevanssi-light/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/relevanssi-light/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/relevanssi-light/reviews/)

## Autoriai

 *   [ Christoph Vielgrader ](https://profiles.wordpress.org/comesio/)
 *   [ Mikko Saari ](https://profiles.wordpress.org/msaari/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/relevanssi-light/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](https://www.relevanssi.com/light/)