Get WPFTS Pro today with 25% discount!

Search Logic not Working


  • 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
    550 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.

  • Search Engine status remains awaiting

    Bugs and Fixes
    10
    0 Votes
    10 Posts
    2k Views
    EpsilonAdminE

    Hi @davide-merlitti

    It happens because you have problems with wp-cron tasks or DNS configuration.

    If you have your website hosted locally, often the domain name is just recorded in /etc/hosts file. This is normally okay for browser access (and this is why indexing is coming well but slow when your WP admin is open). But PHP can not read /etc/hosts by some reason and thus indexing procedure can not go internally.

    Please read this solution and try it.

    Please let me know if it helps or not.

    Thanks!

  • Add button or menu link to search results

    Bugs and Fixes
    7
    0 Votes
    7 Posts
    1k Views
    EpsilonAdminE

    Hi @melanie-james

    First of all, to see attachment contents in Smart Excerpts with Avada theme you need to implement a small patch, which removes the incompatibility of Avada theme.

    Please read more here
    https://fulltextsearch.org/forum/topic/11/solved-avada-theme-excerpt-do-not-show

  • Search Results - BOOLEAN Operators and Relevance

    Bugs and Fixes
    2
    1 Votes
    2 Posts
    798 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!

  • 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