Page MenuHomePhabricator

Split Ferret engine strings for tokenization on any sequence of whitespace
ClosedPublic

Authored by epriestley on Sep 8 2017, 3:08 PM.
Tags
None
Referenced Files
F15410197: D18579.diff
Wed, Mar 19, 6:53 AM
F15381464: D18579.diff
Fri, Mar 14, 7:47 AM
F15379023: D18579.diff
Thu, Mar 13, 6:14 PM
Unknown Object (File)
Wed, Feb 26, 5:15 PM
Unknown Object (File)
Tue, Feb 25, 8:22 PM
Unknown Object (File)
Tue, Feb 25, 7:58 PM
Unknown Object (File)
Tue, Feb 25, 9:15 AM
Unknown Object (File)
Wed, Feb 19, 4:16 PM
Subscribers
None

Details

Summary

Ref T12819. Currently, strings are split only on spaces, but newlines (and, if they exist, tabs) should also split strings.

Without this, we can fail to get the proper term boundary tokens for words which begin at the start of a line or end at the end of a line.

Test Plan

Reindexed a document with "xyz\nabc", saw "yz " and " ab" term boundary tokens generate properly.

Diff Detail

Repository
rP Phabricator
Branch
ferret30
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18397
Build 24770: Run Core Tests
Build 24769: arc lint + arc unit