Horje
Relevanssi Light is a simple, quick and effective search improvement that replaces the default WP search with a fulltext index search. Wordpress Tutorial

Noted That:

  • To install correctly this relevanssi-light.zip .
  • Fisrt Download the relevanssi-light.zip to your computer
  • Extract/Open relevanssi-light.zip to Your Computer.
  • Then, Find readme.txt file inside relevanssi-light.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " relevanssi-light.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " relevanssi-light.zip "  Downloaded plugin from your computer, Where you downloaded relevanssi-light.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Relevanssi Light " folder is added on left sidemenu. Now, Click on " Relevanssi Light " folder.

   Noted that: If you do not see " Relevanssi Light " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Relevanssi Light Configurtions and Settings or How to work " Relevanssi Light " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Relevanssi Light " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Relevanssi Light
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

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 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 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 , which will give you a lot more power to control what is indexed.


search , relevanssi , light , simple , quick , effective , improvement , replaces , default , fulltext ,

Name

Read Article
https://develop.horje.com/learn/1434/reference