> db.fs.files.getIndexes() [ { "v" : 1, "key" : { "_id" : 1 }, "name" : "_id_", "ns" : "testdb.fs.files" }, { "v" : 1, "key" : { "filename" : 1, "uploadDate" : -1 }, "name" : "filename_1_uploadDate_-1", "ns" : "testdb.fs.files" }, { "v" : 1, "key" : { "files_id" : 1, "n" : 1 }, "name" : "files_id_1_n_1", "ns" : "testdb.fs.files" } ] > db.fs.chunks.getIndexes() [ { "v" : 1, "key" : { "_id" : 1 }, "name" : "_id_", "ns" : "testdb.fs.chunks" }, { "v" : 1, "key" : { "files_id" : 1, "n" : 1 }, "name" : "files_id_1_n_1", "ns" : "testdb.fs.chunks" } ]