completed smart search functionality for wildcard keywords