def METHOD_NAME(self, model, items):
    if not class_is_indexed(model):
        return
    # Get mapping
    mapping = self.mapping_class(model)
    # Create list of actions
    actions = []
    for item in items:
        # Create the action
        action = {"_id": mapping.get_document_id(item)}
        action.update(mapping.get_document(item))
        actions.append(action)
    # Run the actions
    bulk(self.es, actions, index=self.name)