Sven Selberg
42d9d297d5
Full text search in memory for review suggestions
...
This change also makes it possible to configure maximum
displayed reviewers.
On some Gerrit instances the full name is formatted like:
<given name> <surname>
and email like:
<given name>.<surname>@...
This would make it impossible to get reviewer suggestions from
surnames.
Since gwtorm doesn't support sql LIKE there is no straight forward
way of filtering on substring in the DB. Hence this in memory approach.
For performance reasons this implementation differs from the default
implementation in that it does not look at the email_address in
account_external_ids but only at the preferred_email of accounts.
The default implementation does only look for 10 matches and afterwards
filters out the acconts that are not allowed to view the change.
Configuration:
suggest.maxSuggestedReviewers
Maximum number of suggested reviewers (default 10).
suggest.fullTextSearch
Enable full text search (default "false").
suggest.fullTextSearchMaxMatches
Maximum number of matches to be checked for accessability when using
full text search (default 100).
Change-Id: Ia4c3a15263783bc144e66a05854c3915392095b5
2014-09-12 15:11:41 +00:00
..
2014-07-16 13:56:17 +02:00
2013-06-14 20:30:32 +02:00
2014-05-19 13:42:34 -07:00
2014-09-12 09:10:54 +02:00
2014-05-14 11:05:42 +09:00
2014-09-05 14:19:15 -07:00
2014-09-05 14:19:15 -07:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-09-11 15:10:08 +02:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-03-25 19:44:49 +00:00
2013-12-20 12:55:51 -08:00
2014-03-24 18:32:42 -07:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-08-11 09:41:32 -07:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-09-09 13:08:04 -04:00
2014-08-27 17:18:48 -07:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-05-07 14:51:17 +02:00
2014-09-04 13:12:24 +09:00
2014-07-02 18:57:01 +00:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-02-24 11:11:04 +01:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-09-12 15:11:41 +00:00
2014-03-24 19:02:08 -07:00
2014-05-27 11:19:47 -07:00
2014-06-16 12:03:46 -07:00
2013-12-20 12:55:51 -08:00
2014-03-24 19:02:08 -07:00
2014-05-28 14:54:54 +02:00
2014-06-05 09:47:13 +02:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-06-19 10:33:52 -04:00
2014-08-22 10:32:51 -07:00
2014-07-08 18:24:26 +09:00
2014-09-10 11:11:11 +02:00
2014-01-24 23:16:25 +01:00
2014-06-12 13:22:34 -07:00
2013-12-20 12:55:51 -08:00
2014-09-11 10:08:36 +00:00
2013-12-20 12:55:51 -08:00
2014-09-12 10:08:22 +02:00
2014-04-27 21:16:25 +02:00
2014-06-03 20:11:53 +02:00
2013-12-20 12:55:51 -08:00
2014-09-05 14:19:15 -07:00
2014-07-10 20:44:53 -07:00
2014-08-29 10:20:52 -07:00
2014-05-02 17:21:22 +09:00
2014-05-02 17:21:22 +09:00
2014-09-04 13:12:24 +09:00
2014-09-04 13:12:24 +09:00
2013-12-20 12:55:51 -08:00
2014-03-11 18:24:13 +09:00
2013-12-20 12:55:51 -08:00
2014-09-04 13:12:24 +09:00
2013-12-20 12:55:51 -08:00
2014-05-02 17:21:22 +09:00
2014-07-08 07:24:01 +00:00
2014-02-21 09:25:33 +01:00
2014-09-04 13:12:24 +09:00
2014-02-21 09:25:33 +01:00
2014-05-02 17:21:22 +09:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-05-02 17:21:22 +09:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-05-02 17:21:22 +09:00
2014-02-21 10:37:47 +09:00
2014-05-02 17:21:22 +09:00
2013-12-20 12:55:51 -08:00
2014-09-05 09:25:33 +09:00
2013-11-05 12:49:43 -08:00
2014-06-03 22:26:49 +09:00
2013-12-20 12:55:51 -08:00
2014-05-09 16:10:27 +02:00
2014-04-27 11:33:13 +02:00
2013-12-20 12:55:51 -08:00
2014-05-07 14:51:17 +02:00
2014-07-16 06:50:39 +00:00
2014-09-04 13:12:24 +09:00
2014-09-09 11:02:51 +02:00
2014-05-28 10:21:52 -05:00
2014-05-19 13:42:34 -07:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-05-02 17:21:22 +09:00
2013-12-20 12:55:51 -08:00
2014-01-22 19:22:03 +09:00
2013-12-20 12:55:51 -08:00
2014-09-11 15:10:08 +02:00
2013-12-20 12:55:51 -08:00
2014-04-22 13:50:43 +02:00
2014-09-05 14:19:15 -07:00
2014-04-23 12:35:10 -07:00
2014-07-11 16:09:16 +09:00
2014-09-12 12:11:45 +02:00
2014-08-13 15:00:44 +02:00
2014-05-09 16:10:27 +02:00
2014-05-29 20:47:51 +00:00
2014-05-29 20:47:51 +00:00
2014-09-11 13:28:32 +00:00
2014-05-01 21:53:30 +09:00
2013-12-21 04:07:00 +00:00
2013-12-20 12:55:51 -08:00
2014-04-22 13:50:55 +02:00
2014-09-10 11:35:00 +02:00
2014-05-23 10:16:15 -07:00
2014-03-25 19:44:49 +00:00
2013-12-20 12:55:51 -08:00
2014-03-25 02:53:02 +00:00