From 4e495ee7e2f2acb1c411c5515c856f8312d6da4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sig=20Narv=C3=A1ez?= Date: Sun, 24 Mar 2024 07:31:30 -0700 Subject: [PATCH] Indexes --- deployment/game_database/indexes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment/game_database/indexes.js b/deployment/game_database/indexes.js index 6570b5c..1ee24a3 100644 --- a/deployment/game_database/indexes.js +++ b/deployment/game_database/indexes.js @@ -1 +1,3 @@ -db.recordings.createIndex({ DateTime: 1 }); \ No newline at end of file +db.recordings.createIndex({ "DateTime": 1 }); +db.recordings.createIndex({ "location":1, "Event._id":1, "Player.Nickname": 1}); +db.recordings.createIndex({ "Player.Nickname": 1,"Event._id": 1 }); \ No newline at end of file