Homec4science

Don't stem "words" with a "." or "_" in them

Authored by epriestley <git@epriestley.com> on Feb 9 2017, 20:21.

Description

Don't stem "words" with a "." or "_" in them

Summary: Fixes T12106. It is correct for us to stem "oddly-proportioned", but not "oddlyproportioned.com" or "maniphest.levelup" or "ad_hoc_token_thing".

Test Plan:

  • Added a bunch of test coverage.
  • Created a task named "apples.bananas ducks_quacks". Found it by searching for "apples.bananas" and "ducks_quacks".

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12106

Differential Revision: https://secure.phabricator.com/D17330

Details

Committed
epriestley <git@epriestley.com>Feb 9 2017, 20:30
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU9d85dfab0f53: Where available, use async_signals in libphutil
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU82f71f62129b: Don't stem "words" with a "." or "_" in them (authored by epriestley <git@epriestley.com>).Feb 9 2017, 20:30