Page MenuHomePhabricator

Tokenize datasource indexes on "(" and ")"
ClosedPublic

Authored by epriestley on Dec 9 2016, 1:34 PM.
Tags
None
Referenced Files
F13980822: D17012.id40931.diff
Sat, Oct 19, 12:43 PM
F13979697: D17012.diff
Sat, Oct 19, 5:56 AM
F13969213: D17012.diff
Oct 17 2024, 1:12 AM
F13958557: D17012.id40935.diff
Oct 14 2024, 3:24 PM
Unknown Object (File)
Sep 15 2024, 9:07 AM
Unknown Object (File)
Aug 24 2024, 9:06 PM
Unknown Object (File)
Aug 19 2024, 1:16 PM
Unknown Object (File)
Aug 18 2024, 9:49 PM
Subscribers
None

Details

Summary

Fixes T11955. Milestone names are currently tokenizing and indexing awkwardly. For example, "A (B C D)" becomes the tokens "A", "(B", "C" and "D)".

The token "(B" can't be searched for since "(" is tokenized on the client.

Instead, tokenize "A (B C D)" into "A", "B", "C", "D".

Test Plan
  • Added unit tests.
  • Used bin/search index --type project --force to reindex.
  • Searched for "A", "B", "C", "D", etc., for real examples.
  • Now, found milestones more consistently.
  • Also serached for viewer(), members(), etc.

Diff Detail

Repository
rP Phabricator
Branch
milestone1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14818
Build 19386: Run Core Tests
Build 19385: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Tokenize datasource indexes on "(" and ")".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Dec 9 2016, 3:53 PM
This revision was automatically updated to reflect the committed changes.