added index_fields attrib in config.json to have array of fields to be indexed in db.