Get WPFTS Pro today with 25% discount!

Default Search Logic (AND / OR) broken since Version 1.28.75


  • Under Settings / Filter
    Default Search Logic
    AND
    OR
    This option tells the search engine whether all query words should contain in the found post (AND) or any of these words (OR).

    AND no longer works. It behaves the same as OR.

    This worked in version 1.28.75 and has been broken since. I now have the latest version 1.34.94 which has this issue.
    My Staging environment has 1.28.75 and my dev env. has 1.34.94 and my dev environment no longer searches correctly.
    I have the latest version of wordpress 5.5 on both Staging and Dev, and when I initially upgraded from 1.28.75 to 1.30.85 that is when I noticed the issue. I also did a full reindex as well.

    Switching between AND and OR had no effect
    I have some a bunch of resources and in the sandbox when I search for "Frog" it finds 22 resources when I search for "Frog Organs" it finds 37, clearly finding more is OR logic. It should have narrowed down to 1 resource found.

    Is this a known issue?
    Thanks
    Charles


  • Hi Charles

    I've just tested 1.34.94 and really, I see the issue. Should be we lost something in the code. I will find the reason for the issue and fix it very soon.


  • @EpsilonAdmin Thanks appreciate it! Thought I was going crazy 😉


  • Hi Charles @clapierre

    We just released v1.35.96 which should have the AND/OR issue fixed. Could you check it?

    Thanks! ✋

Suggested Topics

  • No search results after update

    Bugs and Fixes
    3
    0 Votes
    3 Posts
    223 Views
    EpsilonAdminE

    @ibloom
    Thank you, this is actually the thing which I would like to recommend you to do.

  • 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!

  • Number of search results

    Bugs and Fixes
    5
    0 Votes
    5 Posts
    1k Views
    W

    i feel stupid now...YES! It works...

  • Search Results - BOOLEAN Operators and Relevance

    Bugs and Fixes
    2
    1 Votes
    2 Posts
    857 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
    2 Posts
    943 Views
    EpsilonAdminE

    Hi, Vasiliki

    Thank you for the question!

    Yes, initially WPFTS Pro was only able to search within files that are included in WP Media Library. We are developing an addon currently which will enable search by any file or file directory.

    ETA of the test version is 25 Apr 2020.

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