Skip to content

Commit

Permalink
Update MongoBackendImpl.java
Browse files Browse the repository at this point in the history
Updated for issue#2204
  • Loading branch information
kajal583 authored Nov 30, 2022
1 parent 67bff9c commit f7e74e4
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,17 @@ public void createCollection(String dbName, String collectionName, long dataExpi
keys.append("_id.entityId", 1)
.append("_id.entityType", 1)
.append("_id.attrName", 1)
.append("_id.origin", 1)
.append("_id.resolution", 1);
.append("_id.resolution", 1)
.append("_id.origin", 1);
break;
case DMBYENTITY:
keys.append("_id.attrName", 1)
.append("_id.origin", 1)
.append("_id.resolution", 1);
.append("_id.resolution", 1)
.append("_id.origin", 1);
break;
case DMBYATTRIBUTE:
keys.append("_id.origin", 1)
.append("_id.resolution", 1);
keys.append("_id.resolution", 1)
.append("_id.origin", 1);
break;
default:
}
Expand Down

0 comments on commit f7e74e4

Please sign in to comment.