def METHOD_NAME(self, content_id: int, context: TracimContext) -> None:
    print('Indexing content "{}"'.format(content_id))
    if context.app_config.SEARCH__ENGINE == "simple":
        return
    content_api = ContentApi(
        current_user=None, session=context.dbsession, config=context.app_config
    )
    content = content_api.get_one(content_id=content_id, content_type=ContentTypeSlug.ANY.value)
    ESContentIndexer().index_contents([content], context)
    print('content "{}" correctly indexed.'.format(content_id))