Skip Navigation

[Resolved] I need help with changing the search sensitivity

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 7 replies, has 3 voices.

Last updated by Waqar 3 years, 10 months ago.

Assisted by: Waqar.

Author
Posts
#1904859

Tell us what you are trying to do?
I would like to change the sensitivity of the search field
Is there any documentation that you are following?
No
Is there a similar example that we can see?
No
What is the link to your site?
hidden link

#1905315

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Can you elaborate on what you mean by sensitivity?

If you were using Relevanssi (https://wordpress.org/plugins/relevanssi/) to include support for searching custom fields, for example, then its settings allow you to change the relative weighting used when ordering results (screenshot), but this would modify the order of results, it wouldn't change whether something appeared in the results at all. And it doesn't seem to allow modifying the weight applied custom fields, you would need to check with Relevanssi about that.

In any case, please give more details about what you want to achieve.

#1905323

Hi Nigel many thanks for your response. My URL is hidden link and if you search for a company in the "Company Search Field" for example, I have a company listed called "SICK Automation Southern Africa (Pty) Ltd" You literally have to type the full company name before it finds it. I was hoping you could type part of the name in that field and it would still find the company. I hope this makes sene

#1905459

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2021-01-14 at 14.49.17.png

OK, this is not a text search exactly, it is a custom field filter where the input is a text field.

Rather than comparing with equals you need to compare with "like" which is a looser match. See the screenshot.

#1905509
add sectors-screenshot.jpg

I thank you very, very much. I think I sorted that out. One last thing, I do not know how to do is you will see that each company has "Sectors" and "Countries" How can I add the companies sectors onto their personal page. (Please see attached) I added the other detail to each page as you will see but I have forgotten how I did that. So I would like to just add the "sectors" under the clients name.

#1905983

Hi,

Thanks for the update and glad that it is sorted out now.

From looking into the code of the search form, I'll assume that the "Sectors" are added to the "Company" posts, as a custom field.

To show that custom field value, you can open the content template for the "Company" posts and insert a "Single Field" block with the "Sectors" custom field selected.
( example screenshot: hidden link )

regards,
Waqar

#1906125
error loading page template.jpg

Hi many thanks for your reply. I am assuming the page that I must apply this to is as per the page in my attached screen shot. Please could you tell me why there is this error when I open that page and what must I do to solve this. Please see screen shot

New threads created by Waqar and linked to this one are listed below:

https://toolset.com/forums/topic/split-error-showing-while-editing-a-content-template/

#1906401

Thanks for writing back.

Since this a separate issue, I've split it into a new ticket and will reply to it shortly.
( ref: https://toolset.com/forums/topic/split-error-showing-while-editing-a-content-template/ )

You're welcome to mark this ticket as resolved and start a new one, for each new question or concern.