Skip Navigation

[Resolved] Search in custom field with Relevanssi doesn’t work

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 8 replies, has 1 voice.

Last updated by Minesh 2 weeks, 3 days ago.

Assisted by: Minesh.

Author
Posts
#2813520

Tell us what you are trying to do?

I'm using Relevanssi for search in custom fields but it doesn't work. The result: No items found

#2813589

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

With what type of custom field you want to search text?

Have you followed the following Doc:
- https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/

#2813893

yes, but no results

#2813899

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share details where on what page you added the search and what view you created and what is your expected results.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2813970

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share bit more details like with what keyword I should try to search and what is your expected results and where you want to search:
- within post title only?
- post title and content?
- post title, content and custom field? if custom field within what custom field?

#2814087

Field name Город или населенный пункт
Field slug address

Field name Телефон
Field slug telephone

for example using key word - Чехов should find post
hidden link

or key word - 89262245178 should also find the same post as these values in the fields above

#2814096

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see on this page you have added two views:
- hidden link

What view exactly you would like to target?

#2814342

first one

view id 474006

#2814543

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked and it seems everything is setup as expected but I'm not sure why its not working.

Toolset role is just to pass the entered keyword to relevanssi and Relevanssi is responsible for the executing the search query and result.

I've coupld of suggestions:

Please setup a stating site first as we do not recommond to debug on live/production site.

*** Please make a FULL BACKUP of your database and website.***
In order to minimize the cause of the issue and to ensure there is no conflict with the plugins/theme you use.

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference? If no:

Can you please check with the Relevanssi support and check with them why its not fetching the results.