Files
gerrit/polygerrit-ui/app/elements/admin/gr-repo-list
Patrick Hiesel a26ca7fb96 Hook up PolyGerrit with the new project query endpoint
The new QueryProjects endpoint uses the project index instead of reading
and searching projects from cache, disk or memory. This is an order of
magnitude faster.

This commit hooks up PolyGerrit to use the new endpoint for the repos
page instead. It provides a default query in case the user has not
specified any query (the server does not accept empty queries).

Future optimizations could be to have auto-suggestions on search
operators (like we do for change search).

For now, this small change will provide more than a 10x improvement in
search latency for large instances.

Change-Id: Ia5d27345813e76db3bad6bfe1a22cfc58f9c1e6b
2018-08-29 12:19:26 -07:00
..