Skip Navigation

[Resolved] Search by title not working

This thread is resolved. Here is a description of the problem and solution.

Problem:
A custom search View that includes a text search is failing to find some simple search terms that appear in the titles of posts.

Solution:
The issue happens even when Toolset is deactivated, and appears to be a problem with Relevanssi.

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

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

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 7 replies, has 2 voices.

Last updated by Nigel 6 years, 2 months ago.

Assisted by: Nigel.

Author
Posts
#1106378
Screenshot_1.png
Screenshot_3.png

I am trying to : search by post title

Example : "logg" it says no items found but, counter and filters are working..

Link to a page where the issue can be seen : hidden link

I expected to see : 3 results

Instead, I got : No items found.

#1106680

Nigel
Supporter

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

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

Hi there

Please first disable Relevanssi and/or your custom code added to this View to see if they cause the issue.

If disabling Relevanssi seems to fix the problem, re-enable it and disable Views instead.

Then try searching for the phrase directly, like so:

<em><u>hidden link</u></em>

If that doesn't return the expected results then you have a problem with Relevanssi and should review its settings, and if needs be seek support from them.

Otherwise, let me know the results of the above and we can continue here.

#1108238

I have disabled relevanssi and its giving results..

#1108264

Nigel
Supporter

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

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

Yes, so the issue is not with Toolset it is with Relevanssi.

You can confirm that by enabling Relevanssi, disabling Views and using the standard WordPress search, e.g.

<em><u>hidden link</u></em>

Because you are just searching against post titles you should be able to disable Relevanssi as well and WordPress search should show the posts with 'logg' in the titles (or body).

In which case it is definitely an issue you should be raising with Relevanssi.

#1108274

disabling Views and using the standard WordPress search
- Do you mean deactivate toolset views plugin?

#1108291

Nigel
Supporter

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

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

Yes, deactivate Toolset Views and perform a standard WordPress search rather than using Views for such a search.

#1109250

Hi Nigel,

We tried by deactivating views and relevanssi plugin and it is giving results. then I activated views plugin still its giving results.
So, issues is related to relevanssi.

Thanks!!

#1109254

Nigel
Supporter

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

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

OK, thanks for confirming, I hope they are able to identify the problem.