Skip Navigation

[Resolved] Text Search not picking up custom fields

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.

Our next available supporter will start replying to tickets in about 0.98 hours from now. Thank you for your understanding.

This topic contains 6 replies, has 3 voices.

Last updated by Waqar 5 months ago.

Assigned support staff: Waqar.

Author
Posts
#2034987

Hi,

I'm trying to set up my text search filter so it picks up not only title and content but also custom fields. I have already installed Relevanssi and followed all the instructions on the link below but it is still not working. In fact, after some test it seems that Relevanssi is not even powering your text search option. Am I missing any setting on Toolset to activate Relevanssi?

https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/

#2035027

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

Yes, you are referring correct document, and one thing need to pay attention to, this feature only works for some simple fields, see the document you mentioned above:
https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/#which-custom-fields-can-i-add-to-relevanssis-index-with-toolset
section "Which custom fields can I add to Relevanssi’s index with Toolset":
You can add the following kinds of fields to Relevanssi’s index:
Single line
Multiple line
WYSIWYG

#2036381

Hi Luo,

Yes, I'm working with a Single line field. But it is still not picking up on text search.

#2037383

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

The problem you mentioned above is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URLs, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2043479

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for sharing these details.

As Luo is on vacation, I'll be following up on this ticket.

I've downloaded the duplicator package and will be performing some tests on my server. I'll share my findings, as soon as this testing completes.

Thank you for your patience.

regards,
Waqar

#2047239

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for waiting, while I performed some troubleshooting.

During testing, I was able to reproduce this issue on my test website too. The text search from Relevanssi doesn't seem to bring in the results in the views, based on custom fields.

I've shared these findings with the concerned team for further review and will keep you updated through this ticket.

#2066217

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

I'm happy to inform you that this issue has been fixed in the recent release of Toolset Blocks 1.5.2/Views 3.5.2.

You're welcome to update and let us know in case the issue still persists.

regards,
Waqar