Skip Navigation

[Resolved] Search issue with relevanssi.

This support ticket is created 5 years, 6 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
- 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 11 replies, has 3 voices.

Last updated by Nigel 5 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#1295565
issue1.PNG
issue.PNG

When i search a custom field with relevanssi search dosent display the related result which was working before.
Has it to do something that i updated the plugins?

The issue is located in the all jobs page on the menu. The View is admin all jobs.
Thank you for your help

#1295621
#1296161

Hi Stuart,

Thank you for waiting.

During troubleshooting, I was not able to reproduce this issue on my test website.

Can you please share clone/snapshot of your website, so this can be investigated in more depth?
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )

Your next reply will be private.

regards,
Waqar

#1302797
#1303437

Nigel
Supporter

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

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

Hi Stuart

Waqar is on vacation and I'll take over here.

I'm downloading the copy of your site to install locally and I'll give you an update when I've done some testing.

#1303583

Nigel
Supporter

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

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

Hi Stuart

I couldn't see why the search was failing, so I resorted to rebuilding the Relevanssi index—and that worked.

I'm not sure why it would have gotten out of synch with the data, unless you added conditions for which fields to index after some existing posts were created without rebuilding the index, but in any case that seems to be the issue.

Could you please try the same on your own site?

#1303657

Hello Nigel,
Yes that seems to be the issue, but still after rebuilding the index some values of that custom field are working and some are not. When inserting a new value to existing post also dosent show up. Tried this while disabling cache on browser.
Could you take a look please?

Many thanks

#1303931

Nigel
Supporter

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

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

I just added a new test post on my local copy and the search worked as expected.

During testing I have most of the non-Toolset plugins disabled (except for Relevanssi and WP Bakery).

Can you try the same. It could be that another plugin is interfering with the building of the Relevanssi index in some way.

Although before you try that, rebuild the index again to see if the test post you created gets added, which would narrow the problem down to the index being updated upon saving posts.

By the way, I'm just adding Jobs in the backend. Are you doing anything different?

#1304091
cpscode.PNG

Yes, Im adding the CPS code custom field through a form in the content template of the post, and i can see that it dosent work that way now for some reason.
I just added some new posts frontend and backend.
If i do it on the backend like you did it shows up on the results.
Any idea why?

#1305331

Nigel
Supporter

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

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

I'm checking submitting via the front-end now...

#1305477

Nigel
Supporter

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

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

OK, I can reproduce this problem on a local copy of your site, but not on a fresh test site.

I've stripped back the site to the required plugins and using twentynineteen theme, with no change.

Something appears to be stopping the Relevanssi index from updating when updating the Jobs posts from the front-end, but I haven't been able to determine what.

So I'm escalating this so that my second-tier colleagues can take a closer look.

I'll keep you posted.

#1305505

Thank you very much for your fast reply. Yes please keep me updated.

Thank you

#1361863

Nigel
Supporter

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

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

Hi Stuart

The issue has been fixed by the developers, which will be included in the next forms release.

I don't have an ETA for that right now, but I'll update you here when it is published.

#1368543

Nigel
Supporter

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

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

We updated Forms (as well as Types and Views) earlier this week, and updating your plugins should resolve the issue, let me know if not.