Get WPFTS Pro today with 25% discount!

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

Bugs and Fixes
4 2 1.2k 1

  • 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 valid search resulds, whats wrong?

    Bugs and Fixes
    10
    1 Votes
    10 Posts
    683 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 Logic not Working

    Bugs and Fixes
    2
    0 Votes
    2 Posts
    518 Views
    EpsilonAdminE
    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!
  • Inconsistency in search result

    Bugs and Fixes search not found inconsistency
    2
    0 Votes
    2 Posts
    681 Views
    EpsilonAdminE
    Hi, @Amine The WPFTS Pro version you are using is very outdated. Please consider upgrading to 2.46.x which is the latest. It has a completely new indexing and searching algorithm and it should solve your issue.
  • Add button or menu link to search results

    Bugs and Fixes
    7
    0 Votes
    7 Posts
    2k 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
    869 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!

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