@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Warn users that compound terms separated by apostrophes don't work in the MySQL FULLTEXT index either

Summary: Ref T12928. Like `v0.1`, terms in the form `yo's` (sequences of two or fewer characters separated by apostrophes) do not get indexed.

Test Plan: {F5078192}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12928

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

+3 -2
+3 -2
src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
··· 554 554 // "ab.cd", where short substrings are separated by periods, do not produce 555 555 // any queryable tokens. These terms are meaningful if at least one 556 556 // substring is longer than the minimum length, like "example.py". See 557 - // T12928. 557 + // T12928. This also applies to words with intermediate apostrophes, like 558 + // "to's". 558 559 559 - $parts = preg_split('/[.]+/', $value); 560 + $parts = preg_split('/[.\']+/', $value); 560 561 561 562 foreach ($parts as $part) { 562 563 if (phutil_utf8_strlen($part) >= $min_length) {