PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Search input field results issue

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi there,
I'm having an issue with the Search field.

https://church.barnabasfoundation.com/resources-and-training/resources/

For example if I search for something like"Why is Talking About Money So Hard" (without quotes) on this page it shows up on Page 3 even though it is the exact title.

There seems be some issue with the way it is weighting matches.

It does give better results if we restrict the textinput to only the title, but then the content isn't searched.

I think the exact matches should be weighted higher compared to partial matches.

Here are the settings:



Hello

Unfortunately, the plugin does not have a sorting function

I think it should more closely match the default Wordpress input search which seems to give more relevant results. Is there a way this can be improved?

Example using the default search:
https://church.barnabasfoundation.com/?s=Why+is+Talking+About+Money+So+Hard

Hello

Please drop me  a screenshot of the  text  filter setting

I do not see any setting with the name"text filter" I attached the textinput settings in the above screenshot.

Hello

Sorry I didn't notice this

please  check  option - https://c2n.me/49SJO6Y.png

If  no  luck  try  to  add  in  functions.php this code:

add_filter('mdf_txtsearch_some_words_behavior',function($behavior){

return false;

});

I know it can be restricted to title only, but that would mean the content will not be searched. Both should be searched and exact matches should be prioritized like the built in search.

The standard WP search also searches the description but prioritizes exact matches over partial matches so the way the search results are ordered makes more sense.

https://church.barnabasfoundation.com/?s=Generosity+for+the+Sake
https://church.barnabasfoundation.com/?s=Ministry

Hello

Did you try  this code - https://c2n.me/49VHws8.png ?