Skip Navigation

[Resolved] Relevanssi when searching by title it gives irellevant results

This support ticket is created 5 years, 4 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
- 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 13 replies, has 2 voices.

Last updated by Minesh 5 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1332351

Hello,
I installed Relevanssi to search custom fields which works fine. But when i search for a specific title i get irrelevant results.

Do i need to change the settings in the plugins page?

#1332477

Minesh
Supporter

Languages: English (English )

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

I see when relevanssi plugin is active, view generates the incorrect query.

For now, I disable the relevanssi plugin to demonstrate you that when relevanssi plugin is deactivated I can see the expected results. Please check the following link:
=> hidden link

#1332523

Yeah i tried without relevanssi also before and when i search a video custom post lets say this job Video last job it dosent show anything even without relevanssi. So whats the issue here?

#1332575

Minesh
Supporter

Languages: English (English )

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

I can see the entry "Video last job" it was not showing because the field "approval" is not set to "Approved". I set the field to "
Approved" now and its showing in the results.
=> hidden link

#1332593

The page is not functional any more constantly loading and filters dont work. Are you still working on this?

#1332597

Minesh
Supporter

Languages: English (English )

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

No - I'm not working for now.

#1332621

Well can you solve the issues? Filters dont work at the moment, searching job titles dosent show anything and relevanssi which is supposed to work with toolset dosent function properly.

#1333111

Minesh
Supporter

Languages: English (English )

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

I can see here title you search with and filter is working here:
=> hidden link

#1333161
empty.PNG

hidden link

Searching video job 03 no results
I dont know how you are saying its working clearly its not.
I just checked without cache, checked on my phone, windows , mac and my colleague pc. No filter is working.

I need to search by exact title match and by custom field from rellevansi plugin.

Is that achievable?

#1333201

Minesh
Supporter

Languages: English (English )

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

Frist of all - "Relevanssi" is active on this install.

Please check this video I made: hidden link

As you can see, the kind of project is set to "Web" for post " Video job 03" and the status is "Pending". Can you please confirm after watching the video that search works for you as expected?

Once you confirm this works we can take next steps.

#1333329

Hello,
It dosent make sense for users to first set the filters then search.
When you are shown all the results at the beginning shouldnt it search every custom posts without the use of filters first?

#1333357

Minesh
Supporter

Languages: English (English )

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

You already added the filters to your custom search, so when you search the posts, the filter value should match what you pass to search.

You added three filters: Job Status, Kind of project and Project date. Please notice the current value of search filters. For Jost Status = Pending, Kind of project = Print, Project date = Newer first.

Now, if you just directly load the page and search for the title "Video job 03", the result will not match as by default for filter
Kind of project default selected value will be passed is Print and for "Video job 03" post if you check the value of field "Kind of project" is set to web.
=> hidden link

Can you please tell me - do you want default option for your filter like "Please Select' for filter Job Status, Kind of project?

#1336469

I see how it works.. needs to be first select filters. As it is now -if you could check- the filters are on first option "select" so the search engine should search everything including custom fields. At them moment when i search a specific custom field it shows nothing?

Any idea why?

#1337297

Minesh
Supporter

Languages: English (English )

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

Sorry, I do not get what you are saying, can you please share screenshot or video that will help me to understand what you are saying?