Skip Navigation

[Resolved] Relevanssi text search ignoring distance filter settings

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 1 voice.

Last updated by nicolaS-3 3 days, 23 hours ago.

Assisted by: Minesh.

Author
Posts
#2873648

Hi
I am using the Toolset Maps Distance Filter based on visitor geolocation together with Relevanssi for free-text search. My distance filter is set to show posts within a 100km radius and the free text filter is set to search also in custom fields (that I need). The problem is that Relevanssi fetches posts containing the keyword in custom fields across the entire country and thereby bypassing and ignoring the distance radius set in the distance filter. Is there any way to tell Relevanssi to search in posts within the distance setting ?
thanks
Regards
Nicola

#2873668

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is a known issue that distance search and Text search do not work tgather.

Can you please share problem URL and admin access details and let me see what I can do in this case.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2873896

Hello Minesh,
thanks for your availability as usual. I am closing this ticket because I don't want to waste your time. Considering that this is a known issue I decided to create three separate filters for the fields I want the user to search. FOr the free text search I selected "Title only". Please note that the issue happens only if the "Text, body and custom fields" option is selected, otherwise no problem. Hope this will be fixed.
Thanks Regards
Nicola