Homec4science

Limit results returned by typeahead query in response to user searches

Authored by epriestley <git@epriestley.com> on Aug 1 2012, 23:57.

Description

Limit results returned by typeahead query in response to user searches

Summary:
Currently, on secure.phabricator.com, if you type "e" we generate about 600 users and ship them over the wire. This takes ~300ms.

Instead, limit the results to a superset of what the client will actually show.

Test Plan: Ran user typeahead queries, tweaked limit to 1.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D3121

Details

Committed
epriestley <git@epriestley.com>Aug 1 2012, 23:57
Pushed
aubortJan 31 2017, 17:16
Parents
rPHca91a022fe48: Add a flag column to Differential revision lists
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH9d19a0a8b19e: Limit results returned by typeahead query in response to user searches (authored by epriestley <git@epriestley.com>).Aug 1 2012, 23:57