-- [2] is sample data, the output ids of documents