use local storage for search index