Page MenuHomePhabricator

Intitle does not handle two-word phrases properly
Open, Needs TriagePublic

Description

Greyspace phrases (words connected by greyspace characters), function as search terms and are accepted by incategory, hastemplate, and intitle. Only intitle handles them improperly, and only sometimes.

For three-word phrases, it's OK:
intitle:back_door_album (Proper behavior.)
back_door_album (Proof intitle works with greyspace phrases.)
intitle:green_tree_frog (7 pages all proper)
intitle:"green tree frog" (any way you phrase it)
intitle: greenTreeFrog (any way you phrase it)
green_tree_frog (96 pages otherwise)

But for two-word phrases:
intitle:door_back (Three mismatches.)
[intitle:"door back"](https://en.wikipedia.org/w/index.php?search=intitle:%22door back%22) (Zero, as expected.)
intitle:frog_tree (Another mismatch, but again, all words must also be found in the title)
[intitle:"frog tree"](//en.wikipedia.org/w/index.php?search=intitle:%22frog tree%22) (Zero)

Event Timeline

Cpiral created this task.Feb 1 2016, 8:59 AM
Cpiral raised the priority of this task from to Needs Triage.
Cpiral updated the task description. (Show Details)
Cpiral added a project: CirrusSearch.
Cpiral added a subscriber: Cpiral.
Restricted Application added a project: Discovery. · View Herald TranscriptFeb 1 2016, 8:59 AM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
Deskana moved this task from Needs triage to Search on the Discovery board.Feb 4 2016, 6:14 AM