Created separate function that creates _searchableHash and _IndexGroups