Front-end: Optimize searching