create SearchCache class for faster searching of locally cached data