Trigger search on  keypress.