Index and search directory contents