search bar is activated and querys elastic search