employee search query optimized