Phrase search still...
 
Notifications
Clear all

wpForo 1.x.x Phrase search still doesn't work

14 Posts
3 Users
0 Likes
330 Views
Upstart DM
Posts: 29
Topic starter
(@upstartdm)
Eminent Member
Joined: 2 years ago

Phrase search still doesn't work properly and the existing forum discussion on this has been closed by a moderator. Where do I submit a support ticket?

 

13 Replies
Robert
Posts: 9278
Admin
(@robert)
Support Team
Joined: 6 years ago

@upstartdm,

It works fine. Please provide an exact example and explain your issue. We don't see any problem with the search, and it's probably a site specific issue.

Reply
4 Replies
Upstart DM
(@upstartdm)
Joined: 2 years ago

Eminent Member
Posts: 29

@robert Thanks for your reply.

The problem is that phrase searching, e.g.

"yellow widget"

returns results for "yellow" or "widget" *before and in addition to* results which only include the phrase "yellow widget". The expected behaviour when using phrase match is that only posts with "yellow widget" will be returned.

We're using the latest version of wpForo and all our paid addons.

Reply
Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9278

@upstartdm,

I think it works fine. And this is the correct way of working. There is a small issue in the coloring of the result. Maybe this is the result that you think the better result is not listed on the top:

 

Reply
Upstart DM
(@upstartdm)
Joined: 2 years ago

Eminent Member
Posts: 29

@robert The example you've provided does work fine, although it's slightly different from what I'm talking about because you haven't put the words yellow widget in quote marks to indicate a phrase search (i.e. "yellow widgets"), which is how most people indicate they want to search for a specific phrase rather than multiple words. More importantly though, we don't see the behaviour you've demonstrated here in our own wpForo installation for phrase searches of this kind. Do you want me to provide a similar screenshot here or open a support ticket somewhere else?

Reply
Upstart DM
(@upstartdm)
Joined: 2 years ago

Eminent Member
Posts: 29

@robert Here's an example in the attached screenshot. Searching for the phrase Qualcomm 9008 (regardless of whether or not quote marks are used) returns firstly a result from 3 years ago where the words are present in the post but not in the phrase order and then secondly a result where the phrase is found as entered in the search.

Reply
Martin
Posts: 863
Moderator
(@martin)
Support Team
Joined: 6 years ago

@upstartdm,

Could you please find the similar issue here at wpForo.com to avoid site and database specific issues.

Reply
Upstart DM
Posts: 29
Topic starter
(@upstartdm)
Eminent Member
Joined: 2 years ago

Yes, I randomly went to this topic:

https://wpforo.com/community/how-to-and-troubleshooting-2/how-to-require-all-new-members-to-be-manually-approved-with-email/

and randomly selected the phrase "debug under tools" from the third post from the end and put that into the search box. This post is then returned as the 10th result on the results page with the other results just having one or more of the words but not the exact phrase. The 1st result doesn't even show/highlight any of the words.

That example took me about 3 minutes to find. I'm honestly not trying to be a pain with this but we run a professional forum where many of our members tell me they use Google (i.e. site:www.website.com) instead of the built in forum search because the results are so poor. It's impacting our credibility as a business so I need to push for a solution.

In the other forum post Robert said this:

wpForo doesn't have "exact phrase" search logic. So don't even try it. wpForo search is based on the FullText index provided by MySQL database engine. This search become more smart with the MySQL version. For example, the full-text search is many times smarter in MySQL 8.x versions then in the old 5.6 version.

In any case the best solution is adding "exact text" search option in wpForo. We've just added it in our to-do list and will add it in upcoming update. I have no any ETA yet, but we'll do our best to release it as soon as possible.

but that was 6 months ago and we're still waiting for any improvement.

 

Reply
6 Replies
Martin
Moderator
(@martin)
Joined: 6 years ago

Support Team
Posts: 863

@upstartdm,

Thank you, but I didn't mean a similar topic. I meant a similar search result. Please use wpForo.com search form and find the issue you see in your website. Provide the search phrase that brings incorrect result like it does in your website.

Reply
Upstart DM
(@upstartdm)
Joined: 2 years ago

Eminent Member
Posts: 29

@martin Martin, that's exactly what I just did. What further information do you need?

Reply
Martin
Moderator
(@martin)
Joined: 6 years ago

Support Team
Posts: 863

Ok, thank you, @upstartdm, I see it now.

Posted by: @upstartdm

In the other forum post Robert said this:

And yes, this is the case. The search result you see is based on the number of matches. The first result have the maximum number of words "debug", "under", "tools", and so on. In real life you'll search more specific phrases and the result will be more effective. Also, you can filter by date, something like "Last week" and find better result:

 

The search will be improved for sure, but it requires total change of the working base, we will move it from the MySQL FullText to Indexed system in the next 2.x major version. This is not planned in 1.x versions for sure.

Reply
Upstart DM
(@upstartdm)
Joined: 2 years ago

Eminent Member
Posts: 29

@martin

The search will be improved for sure, but it requires total change of the working base, we will move it from the MySQL FullText to Indexed system in the next 2.x major version. This is not planned in 1.x versions for sure.

Thank you, that's pretty much what I guessed by now (i.e. total change of the working base) so although I'm disappointed the change won't come sooner I do appreciate the honest answer. Do we have any idea when we can expect 2.x? Any chance of it being this year? If not, then I may need to look at a third party solution for search so again, honesty would be very much appreciated.

Reply
Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9278

@upstartdm,

I'm sorry, but we don't have any ETA yet. Probably we'll add an option (checkbox) to enable "exact match" in the search form or something else in upcoming 1.9.x versions.

Reply
Upstart DM
(@upstartdm)
Joined: 2 years ago

Eminent Member
Posts: 29

@robert OK, thank you, if that's possible that would be great.

Reply
Share: