Exact phrase searching in 3.0.x

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Registered User
Posts: 5
Joined: Thu Aug 25, 2016 3:42 am

Re: Exact phrase searching in 3.0.x

Post by davidbutler »

Lumpy Burgertushie wrote:...it did not actually search the exact phrase. it searched for each word in the phrase and brought you back the post with all of those words...
Actually it did search for and return only those posts that include the 'exact phrase'. To prove that, just remove the quotes and you'll get a bunch more results.

As I previously noted, the highlighting part is broken for quoted phrase searches. That's what I consider an annoyance bug, since only those posts with the quoted phrase are included in the results.

BTW, I used the wrong short link in my previous post... here's the correct one: http://bit.ly/2d7s6td
User avatar
Registered User
Posts: 5815
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン

Re: Exact phrase searching in 3.0.x

Post by AmigoJack »

Lumpy: phpBB does distinguish between keywords and phrases. The highlighting is not bound to the actual search results:
AmigoJack wrote:The highlighting in those displayed posts however is flawed - this is a technical limitation. You can test this if you just search with your internet browser thru the following search results and you'll always find at least one occurance of what you searched for - unbound to what is highlighted. Examples:
  1. Phrase "Dunkin Donuts" only
  2. Phrase "exact phrase search" only
  3. Phrase "exact phrase search" plus keyword Donuts only
  • The worst thing about censorship is ███████████
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10

Return to “[3.0.x] Support Forum”