• 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • redis and redisearch are not the same thing.

    redisearch is a plugin/extension for Redis that adds search functionality on top of your redis instance. It’s also not “inside” redis by default. If you want to take advantage of redisearch, you first need to install the extension by creating a customized Docker image that includes/installs the extension or you need to install manually after deploying the base image.

    • This reply was modified 2 years, 1 month ago by codeagency.
    Thread Starter serbanovvostrov

    (@serbanovvostrov)

    Thank you for your response. Yes, exactly. They are two different things. I am using the redis-stack server docker (https://hub.docker.com/r/redis/redis-stack) which also includes redisearch, screenshot here: https://share.cleanshot.com/LF1vHKfsVpNs84SyX2Ys

    Using the console I am fully able to create indexes in redisearch, another screenshot here https://share.cleanshot.com/7FVGXmHF4xLhjQDX6PMT. (you’ll see the port is 6380 as I used to have another Redis-only install on 6379 but I’ve also removed that and setup the docker container on port 6379 with same result)

    So long story short, in console I’m able to use redisearch, in WP I’m able to use redis for object caching but this plugin still gives me the “RediSearch module not loaded!” error, another screenshot here: https://share.cleanshot.com/FHz9bp49yNR7Qvw338hd

    Thread Starter serbanovvostrov

    (@serbanovvostrov)

    Finally got it to work. I think this plugin is not maintained anylonger and it is not working with newer redisearch. I have setup a redisearch 2.0 install and it works fine.

    That could be yes, the last update from this plugin was a signifant time ago. If a lower version works for you, you can have it working like this.
    I don’t know if there are any advantages from using a newer version from Redis (besides maybe security issues that got patched, if any).

    I’m working on something else based on Typesense.
    https://typesense.org/
    I think there is a plugin for WordPress/WooCommerce already (paid) that puts Typesense in place. Perhaps this might be a solid alternative for you too?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redis-stack on Docker’ is closed to new replies.