Hi and thank you for your work. I did try to use your plugin along with redis-stack container installed on Docker (Redis server 6.2.8, Redisearch version 2.6.4) but I keep getting the “RediSearch module not loaded!” error when trying to configure the plugin.
I am using the default 6279 port and other object caching plugins are able to connect to redis.
This is driving me crazy, I’m more than happy to pay for your efforts.
]]>Is it possible to index and search custom tables with RediSearch?
]]>Hello,
i have try to create a manual index. But they drop me as well an error message.
Is this Plugin still under the Maintained or already dead ?
wp redisearch index –setup
sudo -u www-data wp redisearch index --setup
PHP Fatal error: Uncaught Error: Class 'WPRedisearch\RediSearch\Index' not found in /var/www/html/wp-content/plugins/redisearch/bin/wp-cli.php:112
Stack trace:
#0 /var/www/html/wp-content/plugins/redisearch/bin/wp-cli.php(86): Redisearch_CLI->drop_index()
#1 /var/www/html/wp-content/plugins/redisearch/bin/wp-cli.php(212): Redisearch_CLI->create_index()
#2 [internal function]: Redisearch_CLI->index()
#3 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(98): call_user_func()
#4 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()
#5 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(451): call_user_func()
#6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(371): WP_CLI\Dispatcher\Subcommand->invoke()
#7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(394): WP_CLI\Runner->run_command()
#8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1160): WP_CLI\Runner->run_command_an in /var/www/html/wp-content/plugins/redisearch/bin/wp-cli.php on line 112
Fatal error: Uncaught Error: Class 'WPRedisearch\RediSearch\Index' not found in /var/www/html/wp-content/plugins/redisearch/bin/wp-cli.php:112
Stack trace:
#0 /var/www/html/wp-content/plugins/redisearch/bin/wp-cli.php(86): Redisearch_CLI->drop_index()
#1 /var/www/html/wp-content/plugins/redisearch/bin/wp-cli.php(212): Redisearch_CLI->create_index()
#2 [internal function]: Redisearch_CLI->index()
#3 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(98): call_user_func()
#4 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()
#5 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(451): call_user_func()
#6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(371): WP_CLI\Dispatcher\Subcommand->invoke()
#7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(394): WP_CLI\Runner->run_command()
#8 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1160): WP_CLI\Runner->run_command_an in /var/www/html/wp-content/plugins/redisearch/bin/wp-cli.php on line 112
Error: Es gab einen kritischen Fehler auf deiner Website.Erfahre mehr über die Problembehandlung in WordPress. Es gab einen kritischen Fehler auf deiner Website.
Dropping index...
]]>
Hey,
the plugin is great but i face a lot of issues.
1) I’m not able to create a index, my datasource are to high 46k on entrys are to much looks like.
2) Interface very slow
Has some one an idea ? how to fix that ? is there an command line availeble for indexing ? step by step?
]]>Hi,
I want to use more fields to the indexing fields that are being shown by default, I would like to add users and buddy press fields. Th default only shows a few, and does not map all of them.
Many thanks for such a wonderful plugin
Best
Zun
The same that there is an option to select the redis port or the IP, it should be an option to select the database. There is many problems if it’s hardcoded to allways use 0.
It could be very useful add this as an option in next release.
]]>Right now the code is returning empty author names when creating the index (at least with my config). I suggest to replace this code (line 303):
$user = get_userdata( $post->post_author );
if ( $user instanceof WP_User ) {
$user_data = $user->display_name;
} else {
$user_data = '';
}
with only this:
$user_data = get_the_author_meta('display_name', $post->post_author);
This way is simpler, fastest, and it works fine for me. ??
]]>plugin is replaces the default search?
]]>When trying to build the index for first time on my site, I got this error:
Warning : Undefined array key 1 in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 769
Warning : Undefined array key 1 in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 770
Warning : Undefined array key 1 in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 774
Fatal error : Uncaught TypeError: Illegal offset type in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php:775
Stack trace:
#0 /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php(775): FKRediSearch\Index->normalizeInfoArray()
#1 /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php(746): FKRediSearch\Index->normalizeInfoArray()
#2 /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php(572): FKRediSearch\Index->getInfo()
#3 /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php(634): FKRediSearch\Index->getFieldFromInfo()
#4 /home/mydomaintest/public_html/wp-content/plugins/redisearch/src/RediSearch/Index.php(444): FKRediSearch\Index->add()
#5 /home/mydomaintest/public_html/wp-content/plugins/redisearch/src/RediSearch/Index.php(273): WpRediSearch\RediSearch\Index->addPosts()
#6 /home/mydomaintest/public_html/wp-content/plugins/redisearch/src/Admin/Admin.php(261): WpRediSearch\RediSearch\Index->add()
#7 /home/mydomaintest/public_html/wp-includes/class-wp-hook.php(303): WpRediSearch\Admin::wp_redisearch_add_to_index()
#8 /home/mydomaintest/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#9 /home/mydomaintest/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
#10 /home/mydomaintest/public_html/wp-admin/admin-ajax.php(187): do_action()
#11 {main} thrown in /home/mydomaintest/public_html/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 775
]]>
Hello, can the plugin support Hebrew language search?
]]>When going to indexing option page it displays a critical error in the page. I’ve discovered that commenting line 169 in Admin.php then it works. It’s the line where it adds the language selector dropdown. Please verify and fix it.
]]>Hello,
I just installed redis search and on the indexing tab I am seeing below error:
https://ibb.co/NZYQDc1
This is resulting is no indexing of products (it’s woocommerce website with 0 blog posts only products).
Stack Details: Ubuntu/20.04, nginx/1.18.0, Php-fpm/8.0, PhpRedis/v5.3.4, Predis/1.1.7-dev, Redis/5.0.7, WordPress/5.8.1 and Woocommerce/5.6.0
Please help me with fix for this.
Regards
Pratyaksh
I installed and configured, but it starts and gets stuck on 20/540 indexing posts and doesn’t mark any as complete.
]]>When enabling the plugin I get this message appearing in admin and on the frontend. Any help would be appreciated.
Warning: Invalid argument supplied for foreach() in /var/www/vip13/sites/**********/httpd/htdocs/wp-content/plugins/redisearch/src/WpRediSearch.php on line 122
]]>Redis server is running and RediSearch module is loaded! But your index not exist. This mean your site never been indexed or for some reasons, the index have been deleted. Please go to settings page and re-index your website.
I have made that index 10 times now…
]]>From what i see, everytime when the cash from wp-rocket is deleted! The RediSearch needs to re-index all posts! What can be done to make sure there is no need for manual indexing?
]]>I’ve tried to activate the plugin but get this message: “RediSearch module not loaded!”
I already use the redis server with a cache plugin and install the redissearch module. ( sudo apt-get install redis-redisearch )
And I’ve tried to configure de URL’s in Redis server configurations.
Any tips?
]]>Hi guys
I’m currently using Redis for object caching (via the LiteSpeed Cache plugin). Should I run a second instance of Redis for search? Or is it fine to use a single instance Redis instance for both? And if using one instance for both, are there any performance considerations or redis.conf settings that should be tweaked?
Thanks!
PS. Do you know approx. how much additional memory and disk usage would be used by enabling this on a shop with 5000 products? I’ve tried using Elasticsearch in the past but it’s very heavy…
]]>Just as an information: after checking the plugin with my php8 test environment, the plugin is not working there.
]]>Hi, with the latest update, the indexing options settings page is broken and the Redis connection via the socket is gone.
]]>Hello @foadyousefi
One of the options says
Allow RediSearch in admin
If enabled, the plugin overrides searches done in admin area.
https://share.codeagency.be/s/nm2XPTmodRApMrp/preview
But what does it actually do?
Which parts of the admin area? Products? orders? something else?
I don’t see anything happen with the search. Does it also add the partial searching into admin like eg product searching? If I type 3 letters, nothing happens in admin
Frontend all perfectly working.
It seems like it’s a pseudo feature for now? Or does it actually do something?
]]>Is it safe to ignore this?
PHP Warning: Undefined array key 1 in /var/www/vhosts/sample.com/httpdocs/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 769P
PHP Warning: Undefined array key 1 in /var/www/vhosts/sample.com/httpdocs/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 770
Undefined array key 1 in /var/www/vhosts/sample.com/httpdocs/wp-content/plugins/redisearch/vendor/front/redisearch/src/Index.php on line 774
Hi, does this plugin have facet filtering like elasticpress? Or is it only for search?
Is it possible to use this to filter WooCommerce products?
If I use default Woo widgets, with they use the Redisearch query?
Thank you!
]]>How to configure to work with unix socket? I use the Redis object cache plugin with the socket, because its faster than tcp, but I can’t see how to get redisearch working with it.
]]>Using a clean WordPress 5.5.3 – php7.4
Got the plugin to work, but I needed to modify the source:
diff WP-Redisearch.php WP-Redisearch.php~
120c120
< if ( !in_array( ‘search’, $module ) ) {
—
> if ( !in_array( ‘ft’, $module ) ) {
Seems the name of the redisearch module has changed from “ft” to “search”.
Also, can’t enable Live Search, Synonym or Document settings in WP Admin.
Is there a simple way to enable in wp-config or code?
Hi there, great work (first of all), second, is there a way to make it index woocommerce orders?
Mostly the order billing/shipping meta, since shop admins search for other information that the client gives them (instead of order number or name), example: phone number (since they already have it in a call).
Hi,
I have installed everthing and also the plugin. I have created the index but when i want to enable any setting nothing happens. The preloading icon appears but nothing else. When i reload the page everything is still disabled
How to make plugin work in Admin Console? On frontend with standart Search widget plugin work great. How to make it work in the search for posts and Woocommerce products in Admin Console?
]]>Hi, this plugin still in development?
]]>Hi,
It’s me again. I was just wondering if it’s possible to use a single redisearch docke container on multiple networks so I don’t have to make multiple instance of redisearch on my server.
]]>