Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14057859
D18324.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
900 B
Referenced Files
None
Subscribers
None
D18324.diff
View Options
diff --git a/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php b/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
--- a/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
+++ b/src/applications/search/fulltextstorage/PhabricatorMySQLFulltextStorageEngine.php
@@ -554,9 +554,10 @@
// "ab.cd", where short substrings are separated by periods, do not produce
// any queryable tokens. These terms are meaningful if at least one
// substring is longer than the minimum length, like "example.py". See
- // T12928.
+ // T12928. This also applies to words with intermediate apostrophes, like
+ // "to's".
- $parts = preg_split('/[.]+/', $value);
+ $parts = preg_split('/[.\']+/', $value);
foreach ($parts as $part) {
if (phutil_utf8_strlen($part) >= $min_length) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 7:22 AM (21 h, 36 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715181
Default Alt Text
D18324.diff (900 B)
Attached To
Mode
D18324: Warn users that compound terms separated by apostrophes don't work in the MySQL FULLTEXT index either
Attached
Detach File
Event Timeline
Log In to Comment