added ignore_portal_types and only_portal_types parameter to reindex