How much time should we wait before searching something?

I'm using a search bar that searches as the user types. How much time should we wait after the user has finished typing to show the result?