Get WPFTS Pro today with 25% discount!

Search Logic not Working

Bugs and Fixes
2 2 576 2

  • Hello,

    First, thanks for this plugin, after activating it our server usage dropped to 1/3 !

    But, I've detected that some searches still hangs the server. Those are searches that include common words (like "the" or "a" or "an") and multiple words. Looking at the log, I saw that it seems to search separately for each word, causing the issue. I've tried to activate the "AND" Search Logic, but it didn't made any difference, the log still seems to be searching by all words separately.

    Can I do something, maybe at code side, to prevent this?

    Edit 1: Note that, this behavior only occurs at Front End, using the site search, searching at backend doesn't cause issues. Note that, currently searches on backend aren't being logged, even though the option to replace the search in admin is active.... and I believe it's active, because the search there is really fast.

    Edit 2: Is there any further optimization for multiple post type? For example, even after the optimization the same search when limited to 1 single post type take 1.1 second, while looking for 4 different post types, take 9 seconds.

    Best


  • Hi @cantuaria

    Please tell me which version of the plugin do you use? Could you tell me if you have activated Deeper Search option and do you use an Index Optimizer (latest option on the Main Page).

    Thanks!

Suggested Topics

  • No valid search resulds, whats wrong?

    Bugs and Fixes
    10
    1 Votes
    10 Posts
    917 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.
  • PDFs not appearing in search result

    Bugs and Fixes
    2
    0 Votes
    2 Posts
    827 Views
    EpsilonAdminE
    Hi @blixhavn Do you remember which plugins you've installed recently? Some of them may conflict with WPFTS Pro, especially when making a search at the front end. Please try to disable those plugins temporarily. If it does not help, let's connect with TeamViewer so I can solve this issue faster (write me a private message or via Live Chat at the main page).
  • Search Results - BOOLEAN Operators and Relevance

    Bugs and Fixes
    2
    1 Votes
    2 Posts
    926 Views
    EpsilonAdminE
    Hi @Nick Yes, the algorithm thinks the number of words here is more important than the exact phrase... Ideally, if we could justify the relative weight for the phrase matches. Currently, it's too low for your case, but I think if we can double it, this could solve the issue. I think to put this parameter to settings in the near future. Thanks!
  • 1 Votes
    4 Posts
    1k Views
    EpsilonAdminE
    Hi Charles @clapierre We just released v1.35.96 which should have the AND/OR issue fixed. Could you check it? Thanks!
  • Very slow search query on large wordpress site

    Bugs and Fixes
    13
    0 Votes
    13 Posts
    3k Views
    mazcabralM
    @EpsilonAdmin Great! but I still haven't received the email with the link. If possible, please send me back so that I can install and do the tests. Thank you so much!

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