Page MenuHomePhabricator

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

Authored by epriestley on Dec 9 2016, 1:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 10:49 PM
Unknown Object (File)
Wed, Dec 18, 12:35 PM
Unknown Object (File)
Tue, Dec 17, 12:31 AM
Unknown Object (File)
Sun, Dec 8, 3:50 PM
Unknown Object (File)
Wed, Nov 27, 10:24 AM
Unknown Object (File)
Sat, Nov 23, 9:19 PM
Unknown Object (File)
Nov 19 2024, 6:59 AM
Unknown Object (File)
Nov 16 2024, 5:30 AM
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 14817
Build 19384: Run Core Tests
Build 19383: 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.