

How to Configure Elasticsearch on WordPress on Cloudways.Added: Filter hook 'wp_redisearch_after_index_wp_query' Applies after main query and recieves args and the $query object.This hook is for manipulating arguments for indexing process Added: Filter hook 'wp_redisearch_before_index_wp_query' Applies to main query args.This is mainly for showing number of indexable posts Added: Filter hook 'wp_redisearch_after_admin_wp_query' Applies after main query and recieves args and the $query object.Added: Filter hook 'wp_redisearch_before_admin_wp_query' Applies to main query args.Added: Filter hook 'wp_redisearch_indexable_post_status' to manipulate indexable post status.Added: Document feature for indexing binary file contents.Added: Ability to set redis server configurations in wp-config.php file.Fix: Fix admin js and css files enqueue directory name case issue.Fixed: Make search fields parent elements position to 'relative' so auto suggestion will appear in correct place.Added: Adding a comma separated and user defined list of stop words.Added: Get index name option from wp-config.FIXED: Fix a bug preventing saving og feature settings.Updated: Implemented RediSearch version 2.0.


Added: Option to select default language.FIXED: Fixed server connection issue caused by last release.But RediSearch has almost 5 to 10 times better performance and also its way easier to create index, sync your data and send query requests. Yes, ElasticSearch is a great search engine and it has very good performance compared to mySql. How Redisearch is compared to ElasticSearch? If you are using Redis Object Cache plugin, these settings may already exist.ĭefine('WP_REDIS_PASSWORD', 'your-password') ĭefine('WP_REDIS_INDEX_NAME', 'indexName') ĭefine('WP_REDIS_SCHEME', 'connectionScheme') įrequently Asked Questions What is wrong with WordPress native search?Īlthough mySql is a great database to storing relational data, It acts very poor on search queries and you must forget about some features like fuzzy matching and synonyms. Optionaly, you can pass settings in your wp-config.php file like following. In RediSearch dashboard page, click on Index button.In the RediSearch settings page, input your Redis host and port and do the configuration.First, you will need to properly install and configure Redis and RediSearch.Live search (aka autosuggest): Search as you type regardless of misspelling.Just add each comma separated group on a new line in synonym settings and done. Synonym: Adding synonym groups is simple.Document: Index content of binary files such as pdf, word, excel and powerpoint.WooCommerce: Index and search through most of existing products meta data.Synonyms: RediSearch supports synonyms, that is searching for synonyms words defined by the synonym data structure. For example higher score to product name and number than its description.įuzzy Search: Don't worry about visitors misspelling.Īutosuggest: Adds a suggestion string to an auto-complete suggestion dictionary. Scoring fields differently: Give different score to different fields. Search: Instantly find the content you’re looking for. Here you find a list of RediSearch features included in the plugin: 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. Redisearch implements a search engine on top of Redis. If you have version prior to 2.0, please use this plugins 0.2.7. IMPORTANT: The latest version of this plugin supports RediSearch version 2.0 (or higher) which runs on Redis 6.0 (or higher).
