Support » Plugin: RediSearch » Not compatibel w redisearch 2.0?

  • hermantemplio

    (@hermantemplio)


    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?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter hermantemplio

    (@hermantemplio)

    To clarify, i do:
    Enable Live Search, Synonym or Document
    click Save
    next time i load the settings page, the settings ar disabled.

    Thread Starter hermantemplio

    (@hermantemplio)

    Another twist to the story:

    If I disable “Write redis data to the disk” in the “Indexing options” then I can enable Live Search, Synonym and Document.
    If I enable “Write redis data to the disk”, Live Search, Synonym and Document become disabled, and can’t be enabled again.

    Not sure if it’s an undocumented feature, but seems like it would be an odd dependency?

    I’m scratching my head here too. What a shame, looked so promising!

    Plugin Author foadyousefi

    (@foadyousefi)

    Hi,

    Thanks for reporting. I’m aware of the changes in RediSearch version 2.0 API and working on the changes. Unfortunately, at the moment I have some health issues but will complete the changes as soon as I get out of the hospital.

    Meanwhile, on the projects github repo most of the work is done.

    Appreciate your patient.

    Thread Starter hermantemplio

    (@hermantemplio)

    Hope you feel better soon.

    In the meantime, just to let you know, the wp-cli commands are working fine, so I don’t need the WP-admin settings.

    And as far as I can see the only change needed for redisearch 2.0 is the minor edit I posted above.

    Haven’t tested much, though, still waiting for a customer who wanted to deploy this …

    Hope you are feeling better @foadyousefi. Looking forward to the new update, take care and rest.

    /John

    Plugin Author foadyousefi

    (@foadyousefi)

    Thanks for your kind messages.

    @hermantemplio
    Unfortunately, the changes are way more than this. The whole indexing procedure has been changed. I will push the new version in a couple of days.

    This is great news, thanks for the update! I’m really looking forward to using it and kind of surprised that it’s so little used considering how popular redis caching is.

    Thank you so much! I’ve been waiting for this too! 🙂 I hope you’re feeling better now.

    Plugin Author foadyousefi

    (@foadyousefi)

    I’ve released a new version. Please try 0.3.0 and let me know if there are any issues.

    • This reply was modified 1 year, 11 months ago by foadyousefi.

    Hi,

    Thanks for updating the plugin. However there’s an issue when auto suggestions is enabled. When you click on suggested text, [object Object] will appear on search text area.

    Plugin Author foadyousefi

    (@foadyousefi)

    @seyntjim

    A good finding, thanks.

    Fixed this in version 0.3.1

    Thanks for this plugin, finally had time to test the Redisearch 2.0 compatibility.
    I’m using:
    Redis 6.0.5
    Redisearch 2.0.5

    The cpt, pages and posts get indexed, but I found that Taxonomies are not getting indexed. Neither for normal posts or cpt. This is how default wordpress search works as it doesn’t index taxonomies.

    Also, after re-indexing the index counter shows 0 even if the status bar shows a successful index.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Not compatibel w redisearch 2.0?’ is closed to new replies.