Skip Navigation

[Resolved] Prioritizing search results

This support ticket is created 4 years, 5 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.

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: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 4 years, 5 months ago.

Assisted by: Jamal.

Author
Posts
#1758577

Is it possible to have search show results for title first and then content (or another sorting option)? I am using toolset for a food blog and something like Apple turns up Apple Cider Vinegar and Pineapple.

#1758917

Hello and thank you for contacting the Toolset support.

I am not sure to understand what would you mean? Do you mean, display results by relevance? those that have the search keyword on the title first, then those that have it in the content?
This is not possible. The search is done on the database level and is performed against, both, the title and the content. Then the sorting is not context-aware, it is alphabetical. And currently, the secondary sorting options do not contain the content option, check this screenshot hidden link

I hope this answers your question. Otherwise, please elaborate more on what you try to build.