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
F18067836: D18579.diff
Mon, Aug 4, 3:00 PM
F17979928: D18579.diff
Fri, Aug 1, 6:34 PM
F17829884: D18579.id.diff
Jul 26 2025, 10:27 AM
F17770364: D18579.diff
Jul 23 2025, 9:31 AM
F17770268: D18579.diff
Jul 23 2025, 9:25 AM
Unknown Object (File)
Jun 3 2025, 7:18 AM
Unknown Object (File)
May 31 2025, 3:50 AM
Unknown Object (File)
May 28 2025, 11:08 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable