log search queries and results