def METHOD_NAME(record):
    """Reindex the parent resource.
    :param record: the `LocalField` instance.
    """
    resource = extracted_data_from_ref(record['parent']['$ref'], 'record')
    if isinstance(resource, (Document, Item)):
        resource.reindex()