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

    Bugs and Fixes
    10
    1 Votes
    10 Posts
    585 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
    471 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!

  • PDFs not appearing in search result

    Bugs and Fixes
    2
    0 Votes
    2 Posts
    716 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).

  • Unable to translate "Search" widget

    Bugs and Fixes
    3
    0 Votes
    3 Posts
    874 Views
    R

    I am using the Pro version. My registered email is : sita@cavernas.org.br

  • Search Results - BOOLEAN Operators and Relevance

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