|
@@ -66,7 +66,7 @@ db.getCollection('randomPaper').createIndex({courseId:1},{ name: "INDEX_courseId
|
|
db.getCollection('randomPaper').createIndex({paperStructId:1},{ name: "INDEX_paperStructId", unique: false });
|
|
db.getCollection('randomPaper').createIndex({paperStructId:1},{ name: "INDEX_paperStructId", unique: false });
|
|
db.getCollection('randomPaperQuestion').createIndex({randomPaperId:1},{ name: "INDEX_randomPaperId", unique: false });
|
|
db.getCollection('randomPaperQuestion').createIndex({randomPaperId:1},{ name: "INDEX_randomPaperId", unique: false });
|
|
db.getCollection('randomPaperQuestion').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
|
|
db.getCollection('randomPaperQuestion').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
|
|
-db.getCollection('question').createIndex({"course.code":1},{ name: "INDEX_courseCode", unique: false });
|
|
|
|
|
|
+db.getCollection('question').createIndex({"orgId":1,"course.code":1},{ name: "INDEX_orgCourse", unique: false });
|
|
db.getCollection('questionAudio').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
|
|
db.getCollection('questionAudio').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
|
|
Redis部分
|
|
Redis部分
|
|
规范KEY前缀 ok
|
|
规范KEY前缀 ok
|