Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mikko Saari

    (@msaari)

    I don’t know very well what Dynamic actually does, but dynamic content sounds like something that wouldn’t work with Relevanssi. If everything works well, Relevanssi indexes the dynamic content as it is at the moment the post is indexed. When the dynamic content changes after that, Relevanssi doesn’t see that change because Relevanssi indexing only triggers when the post is saved.

    So yeah, if I’ve understood Dynamic correctly, it won’t work nicely with Relevanssi, and there’s not much that can be done to fix it. You’ll probably have to go looking for a different search solution. Dynamic content will be a tough problem for any search solution, but if you look at more high-end stuff like Algolia, they’re probably more likely to handle it well.

    Thread Starter espressivo

    (@espressivo)

    It is just showing search results – it works perfectly without relevanssi but doesn’t show with relevanssi enabled. Bummer.

    Hi Mikko,
    before executing our WP_Query, could we solve the issue by temporarily removing these filters and then restoring them after the query?
    remove_filter( 'posts_request', 'relevanssi_prevent_default_request' );

    remove_filter( 'posts_pre_query', 'relevanssi_query', 99 );

    Would this be a safe approach, or do you recommend a better way to prevent Relevanssi from interfering with our custom queries?

    Thanks for your help!
    Giovanni

    Plugin Author Mikko Saari

    (@msaari)

    Yes, that is the recommend way to disable Relevanssi in a search query.

    Thank you @msaari !
    @espressivo we have solved this problem for the next version (3.2.5) of Dynamic Content for Elementor

    Thread Starter espressivo

    (@espressivo)

    This is EXCELLENT news!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.