1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/src
epriestley 5a95efaa4b Tokenize datasource indexes on "(" and ")"
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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11955

Differential Revision: https://secure.phabricator.com/D17012
2016-12-09 08:06:47 -08:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Add a wide range of HTTP-request-based setup checks 2016-12-08 15:46:23 -08:00
applications Tokenize datasource indexes on "(" and ")" 2016-12-09 08:06:47 -08:00
docs Fix a bad link in the database partitioning docs 2016-12-07 13:33:37 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Normalize remote IP addresses when writing to logs, etc 2016-12-05 11:20:29 -08:00
view When a custom logo is configured but has a restrictive visibility policy, fall back to the default logo 2016-12-09 07:50:59 -08:00
__phutil_library_init__.php
__phutil_library_map__.php Add a wide range of HTTP-request-based setup checks 2016-12-08 15:46:23 -08:00