remove duplicate autocomplete results and added realtime search indexing.