Page MenuHomePhabricator

CirrusSearch suggests phrases that are worse than what the user typed
Closed, ResolvedPublic

Description

You can reproduce this by following these steps or just running the test suite:

  1. Create a page called Nobel Prize with content nobel prize
  2. Create a page called Noble Gases with content noble gasses
  3. Create a page called Noble Somethingelse with contents noble somethingelse

Finally, search for "Nobel Prize".
Problem:
We suggest "Noble Prize"
Instead we should:
Suggest nothing because the original query provides a better match.


Version: unspecified
Severity: normal

Details

Reference
bz52323

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:07 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz52323.
bzimport added a subscriber: Unknown Object (MLST).

I'm really of two minds with regards to this issue so I'm going to set the priority to low. Sure, the example above is a bit lame. But I just had a search for "pantograph" suggest "photograph" which, honestly isn't too weird a suggestion. Better I had a search for "photograph" suggest "photography" which is actually a great suggestion because that term unlocked far more search results that were relevant to the original query.

So I'm going to mark this one patch to review because https://gerrit.wikimedia.org/r/#/c/78311/ should make this a lot less painful. If it comes back up we'll reopen.