{"action":"opened","issue":{"url":"https://api.github.com/repos/nasa/openmctweb/issues/91","labels_url":"https://api.github.com/repos/nasa/openmctweb/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/nasa/openmctweb/issues/91/comments","events_url":"https://api.github.com/repos/nasa/openmctweb/issues/91/events","html_url":"https://github.com/nasa/openmctweb/issues/91","id":103749026,"number":91,"title":"Typing in search bar can be unresponsive","user":{"login":"VWoeltjen","id":1685764,"avatar_url":"https://avatars.githubusercontent.com/u/1685764?v=3","gravatar_id":"","url":"https://api.github.com/users/VWoeltjen","html_url":"https://github.com/VWoeltjen","followers_url":"https://api.github.com/users/VWoeltjen/followers","following_url":"https://api.github.com/users/VWoeltjen/following{/other_user}","gists_url":"https://api.github.com/users/VWoeltjen/gists{/gist_id}","starred_url":"https://api.github.com/users/VWoeltjen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VWoeltjen/subscriptions","organizations_url":"https://api.github.com/users/VWoeltjen/orgs","repos_url":"https://api.github.com/users/VWoeltjen/repos","events_url":"https://api.github.com/users/VWoeltjen/events{/privacy}","received_events_url":"https://api.github.com/users/VWoeltjen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-28T16:13:38Z","updated_at":"2015-08-28T16:13:38Z","closed_at":null,"body":"For a reasonably large set of objects, typing in search bar can be unresponsive after the first one or two characters, particularly if there are a lot of hits for those characters. Unresponsiveness lasts for roughly 1-2s. Subsequent typing gives results more quickly.\r\n\r\nCould try throttling the [search function](https://github.com/nasa/openmctweb/blob/509badb225ee7f619c29bd886fa56ca462748e03/platform/search/src/controllers/SearchController.js#L132) using the [`throttle`](https://github.com/nasa/openmctweb/blob/6aaa887e658a91166270de0ab066168d2575f6ed/platform/core/src/services/Throttle.js) service. \r\n\r\nMay also want to do something to wait until previous search results have been returned before initiating a new search.\r\n\r\nThis was observed using a non-ES data store (so issue may also be specific to GenericSearch)"}}