Live search results: Respecting most recent search

I’m planning to use elasticsearch to allow searching of entries in my ember app, and I’d love it to be as responsive as the rest of Ember!

Part of that requires live, debounced searching of the entries, but what if an older response comes back after a newer one?

How do I get Ember to respect the most recent issued response? The only part of the models that will be changing is the rank-score, so ideally I’ll wipe those from the client models before loading each reply, but how to ensure the current reply is for the current search entry?

Thanks!