Homec4science

Add a name token table so on-demand typeaheads can match last names

Authored by epriestley <git@epriestley.com> on Oct 23 2011, 22:25.

Description

Add a name token table so on-demand typeaheads can match last names

Summary: See T585. We currently don't match middle/last/nth names in on-demand
tokenizers. Build a table so we can match them.

Test Plan:
Ran upgrade script, verified table looks sensible. Searched for "priestley" in a
tokenizer, got a bunch of test account hits.

mysql> select * from user_nametoken;
+-------------------+--------+
| token             | userID |
+-------------------+--------+
| evan              |      1 |
| priestley         |      1 |
| epriestley        |      1 |
| epriestley2       |      2 |
| ducks             |      4 |
| epriestley3       |      4 |
| asdf              |      6 |
| epriestley99      |      6 |
...

Reviewers: bh, nh, jungejason, tuomaspelkonen, aran

Reviewed By: aran

CC: aran

Differential Revision: 1034

Details

Committed
epriestley <git@epriestley.com>Oct 23 2011, 23:25
Pushed
aubortJan 31 2017, 17:16
Parents
rPH4156cf6bd970: Add an optional configuration option to set 'Precedence: bulk' headers on…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHddce177d8157: Add a name token table so on-demand typeaheads can match last names (authored by epriestley <git@epriestley.com>).Oct 23 2011, 23:25