RediSearch
Redisearch implements a search engine on top of Redis. It has lots of advanced features, like exact phrase matching and numeric filtering for text queries, that are nearly not possible or inefficient with mysql search queries. IMPORTANT The latest version of this plugin supports RediSearch version 2
About this tool.
Redisearch implements a search engine on top of Redis. It has lots of advanced features, like exact phrase matching and numeric filtering for text queries, that are nearly not possible or inefficient with mysql search queries.
IMPORTANT
The latest version of this plugin supports RediSearch version 2.0 (or higher) which runs on Redis 6.0 (or higher). If you have version prior to 2.0, please use this plugins 0.2.7.
Here you find a list of RediSearch features included in the plugin:
Search : Instantly find the content you’re looking for. The first time.
Scoring fields differently : Give different score to different fields. For example higher score to product name and number than its description.
Fuzzy Search : Don’t worry about visitors misspelling.
Autosuggest : Adds a suggestion string to an auto-complete suggestion dictionary.
Synonyms : RediSearch supports synonyms, that is searching for synonyms words defined by the synonym data structure.
Existing features
- WooCommerce: Index and search through most of existing products meta data.
- Document: Index content of binary files such as pdf, word, excel and powerpoint.
- Synonym: Adding synonym groups is simple. Just add each comma separated group on a new line in synonym settings and done.
- Live search (aka autosuggest): Search as you type regardless of misspelling.
Getting started.
- 01First, you will need to properly install and configure Redis and RediSearch .
- 02Activate the plugin in WordPress.
- 03In the RediSearch settings page, input your Redis host and port and do the configuration.
- 04In RediSearch dashboard page, click on Index button.
- 05Let you visitors enjoy.
Optionaly, you can pass settings in your wp-config.php file like following. If you are using Redis Object Cache plugin, these settings may already exist.
define(‘WP_REDIS_HOST’, ‘127.0.0.1’); define(‘WP_REDIS_PORT’, ‘6379’); define(‘WP_REDIS_PASSWORD’, ‘your-password’); define(‘WP_REDIS_INDEX_NAME’, ‘indexName’); define(‘WP_REDIS_SCHEME’, ‘connectionScheme’);