Passer la navigation

[Résolu] Split: Custom search with Relevanssi not covering a custom field

This support ticket is created Il y a 2 years, 5 months. 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.

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 -

Fuseau horaire du supporter : Asia/Karachi (GMT+05:00)

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Waqar Il y a 2 years, 5 months.

Assisté par: Waqar.

Auteur
Publications
#2679804

Hi Waqar,
I don't now what you did but the search box is visible. Great!

BUT

I get only search results for searching in the title of the post.
There is another custom field I need search results from: "Disease organisation".
This is a repeating field. I have also opted in "Include in search".

I changed the setting of the Custom search filter "Where to search" to "Title, body and custom fields".
I have installed Relevanssi and re-indexed. No change.

How can I adjust this?

Thanks for helping
Michel

#2679806

Hi Michel,

I've noticed that post type 'patientenvereniging' is not selected for indexing at WP Admin -> Settings -> Relevanssi -> Indexing -> Post types.
( ref: https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/#including-custom-posts-in-the-search )

Please set this post type for indexing and build the index again using the same settings page.

I hope this helps and let me know how it goes.

regards,
Waqar