search query is logged