Skip Navigation

[Résolu] Search by title not working

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 6 années et 2 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 7 réponses, a 2 voix.

Dernière mise à jour par Nigel Il y a 6 années et 2 mois.

Assisté par: Nigel.

Auteur
Publications
#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 : lien caché

I expected to see : 3 results

Instead, I got : No items found.

#1106680

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: 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>lien caché</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

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: 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>lien caché</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

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: 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

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

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