Real implementation of auto complete search