• Resolved clapierre

    (@clapierre)


    In version 1.39.112

    Both Filtering options for
    WP FullText Search Options
    Search & Output

    Default Search Logic
     <strong>AND</strong>
     OR
    This option tells the search engine whether all query words should contain in the found post (AND) or any of these words (OR).
    
    Deeper Search
     Enabled
    Enables searching substrings in the middle of words. This is much slower than usual search, so use it with care. Keep it disabled if you have any issues with MySQL performance.

    These both worked as I would expect.
    In the latest version I just installed
    1.44.134
    both these options are not working,
    Default Search logic is set to “AND” always even when you pick “OR” it behaves like “AND”.

    Deeper Search seems not to work at all, and is finding text strings within words when this feature it turned off.

    Not sure which version between 1.39.112 and 1.44.134 this issue has been introduced

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Epsiloncool

    (@epsiloncool)

    Hi @clapierre

    The “word logic” option now is applied only on Main Query (the WP_Query() which WP makes before the routing). In case you’re using your own WP_Query() call, please make sure you have added specific parameters into the wp_query call:

    
    wpfts_is_force => 1,  // To force WPFTS functionality ON
    word_logic => 'and',  // or 'or'
    

    About deeper search: please check if you have a different amount of results with deeper search ON and OFF.
    Sometimes the post found with deeper search OFF (means the word was found by its starting part) is shown in the Smart Excerpts and some words that contain search phrases in the MIDDLE are highlighted too. It’s a known bug of Smart Excerpt (not the search) that will be fixed in nearest future.

    Thread Starter clapierre

    (@clapierre)

    @epsiloncool Thanks, will look into that.

    As for the results of Deep search on/off
    Previously when searching for a stand alone term “ppe” with deep search off I would get 1 result [which was correct as we had a single word ppe (personal protective equipment)]
    When we turned deep search on we previously got 529 results which made sense as it found “ppe” in other words.

    However now with the latest version we get 29 results with it turned on or off.

    Plugin Author Epsiloncool

    (@epsiloncool)

    Could you try with a long word without the first letter, for example, “igital” instead of “digital”? The “igital” should not be found without deeper search is ON.

    I need to understand if your deeper search always ON or always OFF when you searching.

    Plugin Author Epsiloncool

    (@epsiloncool)

    Hi, did you solved this?

    Thread Starter clapierre

    (@clapierre)

    Sorta, reverted back to our old version of WP Search Plugin (1.39.112), developer is on leave.

    • This reply was modified 3 years, 8 months ago by clapierre.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Regression issue? on Search filtering options’ is closed to new replies.