search slow performance improvement