def METHOD_NAME(self, documents):
    """
    Runs an ids transform operation when dense indexing is disabled.
    Args:
        documents: iterable of (id, data, tags)
    Returns:
        document ids
    """
    # Consume stream and build extract ids
    METHOD_NAME = []
    for uid, _, _ in self.stream(documents):
        METHOD_NAME.append(uid)
    # Save offset when dense indexing is disabled
    self.config["offset"] = self.offset
    return METHOD_NAME