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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter AlphaPrime

    (@andumarian)

    Is there no way for the function to automate itself?

    Thread Starter AlphaPrime

    (@andumarian)

    I have multisite install!

    Plugin Author foadyousefi

    (@foadyousefi)

    Sorry for the late answer.

    It is a bit hard to find what is wrong. Can you access the redis via the command line?

    If so, can you please check if the plugin is actually indexing the data as it should by running:

    FT.INFO <your-index-name> and look for num_docs

    As for automation, it might cause a mess in some cases, but it can be an option in plugins settings to (something like) “Automate indexing”. I will put this in my todo list.

    Thread Starter AlphaPrime

    (@andumarian)

    It is indexing, but not saveing them even if in the Indexing options i have set the “Write redis data to the disk”
    And i have
    “Whith the current settings, there is 164 posts to be indexed.

    Right now, 0 posts have been indexed.”
    After i reindex i still have this
    “Re-indexing is highly recommended.”

    Plugin Author foadyousefi

    (@foadyousefi)

    The Write redis data to the disk option is for data persistence. Redis stores everything in the memory and in case of server restart, data will be gone. The Write redis data to the disk option is to store Redis data on the disk so, after a server restart, stored data is used.
    In your case, we need to first confirm indexed posts by plugin exist in the Redis server or not?
    It is possible that data is not being indexed at all or not.

    Thread Starter AlphaPrime

    (@andumarian)

    In the terminal when i verify, it is indexing… redis and rediseach. if I use diferent keys on plugins, I will have the index with both keys. The redis db used by redisearch is the same with the redishcache.
    I don t understand why the plugin from time to time deletes everything without the redis cache (this one remains).
    I have tested both on multisite and single site.
    One multisite with Redis Cache + Redisearch (db 1)
    One multisite with a Redis Cache Pro + Redisearch (db 0)
    One single site with Redis Cache + Redisearch (db 2)
    All 3 have
    // automatically delete cache keys after 7 days
    define( ‘WP_REDIS_MAXTTL’, 60 * 60 * 24 * 7 );

    They all have the same thing! After index, it tells me to re-index!

    Plugin Author foadyousefi

    (@foadyousefi)

    I think cache plugins delete all data and re-cache again. I assume they just delete everything from the Redis server which contains RediSearch indexed data as well and when they re-cache, the RediSearch data is gone.

    One possible solution here is to re-index periodically as well.

    Thread Starter AlphaPrime

    (@andumarian)

    When I delete cache with WP-Rocket after a re-index, the index is not affected!
    After 2-3 h it deletes itself!

    BStreet

    (@bstreet123456789)

    I’m having an identical issue, but not using any cache plugins. Did you happen to find the culprit @andumarian?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘But your index not exist’ is closed to new replies.