Get WPFTS Pro today with 25% discount!

Slow down for bulk operations


  • Hi,

    Overall a great product, but I've found one issue that is affecting us.

    We have a process where we remove large numbers of posts and reimport them from a different system.

    Since the rewrite of the indexing system, if I go to the Posts screen in the admin area, select a pages worth (i.e. 20 of them). Then from the "Bulk Actions" move them to the Bin (Trash), it will take a good 20 seconds to finish the operation. With larger posts it can be a lot longer than that.

    Then going to the Bin and Emptying it, will take even longer. From what I can tell from doing some profiling with xdebug, it's calling curl to do a reindex for every save_post. Which seems fair enough.

    To speed things up, I thought we could uncheck the "Auto-index" box in the WP FullText Search Options screen. But unchecking that and saving, or unchecking the "Enable FullText Search" and saving, it still does the curl request and is noticeably slow.

    If I deactivate the plugin, then normal processing times return and the bulk operations resume at normal sub 1 second speeds.

    This is equally true for importing new posts, or creating them with wp cli.

    My work around for the moment, is to deactivate the plugin before I do any bulk delete/creation operations, then do them, then reactivate the plugin, and go to the control panel, then pause and resume indexing and it seems to catch up (usually quite fast!).

    Would it be possible to put some sort of functionality in, where a save_post call doesn't block it's completion until it's been indexed, or a option put into the control panel where you could allow for it to asynchronously index posts rather than intercepting every single post save?

    Also the unchecking of "Auto-index" option, still seems to leave some of the intercepting of post saving enabled!

    Many thanks.

    Rupert

Suggested Topics

  • No PDF results

    Bugs and Fixes
    2
    0 Votes
    2 Posts
    37 Views
    EpsilonAdminE

    Hi @ultraman

    Thank you for your message.

    Since you can see results in the Sandbox, the index is fine. No need to rebuild it again. The problem is on the "display results" side.

    With your configuration, the first idea I think is to install the pre-release WPFTS version that contains the latest fix of the Divi Addon for WPFTS. I've sent you the link in private messages.

    Please install it and tell me if it works fine or not.

    In case it still does not work, please tell me which version of Divi Theme you are using, the WPFTS plugin version, and also please explain your search behaviour. Simple try the request like this:

    https://yourdomain.com/?s=<search_phrase>

    And notice if it returns any result.

    Thank you!

  • Documentation pages down?

    Bugs and Fixes
    3
    0 Votes
    3 Posts
    91 Views
    I

    @EpsilonAdmin looks good!

    Thanks for getting that back up

  • No valid search resulds, whats wrong?

    Bugs and Fixes
    10
    1 Votes
    10 Posts
    653 Views
    EpsilonAdminE

    Hi @stark

    Unfortunately, WPFTS does not work with PODS custom fields "from the box", so custom code exists somewhere. I think your developer used another way to add data to the search index.

    We need to ask him or alternatively, I could check your code myself, it should not be too long. In this case please send me admin access to your resource using a private message.

    Thanks.

  • Link URL showing up in search results.

    Bugs and Fixes
    6
    0 Votes
    6 Posts
    440 Views
    EpsilonAdminE

    Hi @jgregory_ca

    Okay, the fix for Avada addon should be ready in a couple of days. Just FYI.

    Thanks!

  • 0 Votes
    2 Posts
    148 Views
    EpsilonAdminE

    Hi @Felipe-Farinho

    Você pode me dizer qual tema seu site está usando atualmente? Pode haver uma incompatibilidade de tema/WPFTS (e isso é fácil de corrigir).

    Além disso, para indexar arquivos do WPDM você precisa instalar um complemento simples
    https://wordpress.org/plugins/wpfts-add-on-for-wp-download-manager/ (não se preocupe se não for atualizado há algum tempo - iremos atualizá-lo em breve).

    Isso permitirá que o WPFTS veja os arquivos adicionados ao WPDM.

    Peço também que você compartilhe um link para o seu site - isso agilizará a busca por uma solução.

    Obrigado!

Be the first to read the news!

We are always improving our products, adding new functions and fixes. Subscribe now to be the first to get the updates and stay informed about our sales! We are not spammy. Seriously.

Join Us Now!

We are a professional IT-team. Many of us have been working in a Web IT field for more than 10 years. Our advanced experience of software development has been employed in the creation of the WordPress FullText Search plugin. All solutions implemented into the plugin have been used for 5 or more years in over 60 different web-projects.

We are looking forward to your comments, requests and suggestions in relation to the current plugin and future updates.

ewm-logo-450

The forum powered by NodeBB | Contributors