Skip Navigation

[Resolved] Search issue

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 2 replies, has 1 voice.

Last updated by Minesh 3 weeks, 6 days ago.

Assisted by: Minesh.

Author
Posts
#2789743
#2789744

duplicator package didnt work so i did the all in one import wpress package

#2789745

its the full zip from hosting actually

#2789819

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Thank you for the information. I tried many times to download the package and it failed in the middle of the process.

The 34 G is too big of a file to be able to work on.

Is it possible that you copy your website on your server so I have a way to at least test the content and deactivate/activate plugins without the fear of having bad effect on a live website?

I also tried to check this and it worked ok on my installation so the order and sorting problem might be related to a compatibility with a plugin or the theme , but I can not test it on the login info you gave to me as it seems to be a live website.

Please set the next reply as private to give info for a website that I can do troubleshooting on.

FYI: I tried many times to download, but 34G is too big

#2789875
#2789953

Christopher Amirian
Supporter

Languages: English (English )

Hi,

I asked for a login for a copy/staging version of the website. We do have already the login information for the live website which we can not touch for troubleshooting.

This complicates the matter as I tried many times and the 34 GB is too big to be able to download.

I reported this to the second-tier support to see if they can download the installation to be able to troubleshoot.

Just FYI it will take time as we are in the holiday season.

I will get back to you as soon as I have news.

Thanks.

#2790470

any update?

#2790575

Minesh
Supporter

Languages: English (English )

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

Christopher is on vacation. This is Minesh here, We already escalated the ticket in front of our next level support, please hold on for further update.

#2790600

Minesh
Supporter

Languages: English (English )

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

I checked the issue further and I found that you are using Relevanssi Premium plugin. When the Relevanssi is active it takes control over the WordPress queries, as a whole.

Please check the following Doc for more information:
- https://toolset.com/course-lesson/searching-texts-in-custom-fields-with-toolset-and-relevanssi/#integration-with-custom-searches
section "Integration with custom searches":

Once you add a search filter that includes custom fields, the entire search operation is performed by the Relevanssi plugin, which means that Relevanssi is also responsible for providing the results order. This is why the Views sorting order options are not used.

I suggest that it would be a good idea to get in touch with their support team, to know if they offer any function/hook so that views can be ordered by the view's user selected order.

#2790606

i mention again

it is not a search issue
its a sort issue.
did you check the details?

#2790608

search is working fine
its the toolset sorting the issue

#2790677

Minesh
Supporter

Languages: English (English )

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

I understand that but as I shared when the Relevanssi is active it takes control over the WordPress queries, as a whole when you have text search. You use keyword to search "Kghi" and as you are using text search in this case Toolset will by bypass and the control passed to the Relevanssi.

Without text search, check the following screnario:
- Navigate to page: hidden link
- Scrolled to the bottom and filtered by Birthplace = Adana and click on submit button
- Back at the top and try to updated the sort order, trying by Last Name, and again by Mother's Last Name, and in each case it worked.

Conclustion is if you have text search Toolset do not have any control on the search result or sort order as its controlled by Relevanssi.

#2790678

Response from relevanssi
I can't keep doing this back and forth. Please help me fix this.

it's because Toolset uses custom sorting parameters instesad of the regular orderby and Relevanssi only understands that. If you want Relevanssi to sort by those fields, you need to convert the Toolset sorting parameters to something Relevanssi understands.

So, you need a filter function that takes the Toolset parameters and changes it use orderby and meta_key like core WordPress does.

Can you please do this.

#2790691

Minesh
Supporter

Languages: English (English )

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

I'm afraid but you are knowking wrong doors and we do not have such feature or any hook/filter to override the relevanssi query.

When using Relevanssi to add the ability to search custom fields Toolset delegates responsibility for filtering and ordering to Relevanssi, so the Toolset custom ordering controls will not work in that scenario and that is how it suppose to work as Relevanssi order results by relevance.

You can either recruit a developer to develop such custom feature or you can stop using Relevanssi to enhance the filtering (which means the searchable text will be limited to the post title and post content).

I see Relevanssi offering "relevanssi_order" hook and they should help you better in order to guide you with the workaround.
-hidden link