Skip to content

Commit

Permalink
renaming indexes for entities mongo
Browse files Browse the repository at this point in the history
renaming indexes for entities mongo
  • Loading branch information
gs-gunjan authored Jul 25, 2023
1 parent f389059 commit a74ccfb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ public EntitiesMongo(@Named("mongoDatabase") MongoDatabase databaseProvider, Cla
public static List<IndexModel> buildIndexes()
{
return Arrays.asList(buildIndex("groupId-artifactId-versionId", GROUP_ID, ARTIFACT_ID, VERSION_ID),
buildIndex("groupId-artifactId-versionId-entityPath", true, GROUP_ID, ARTIFACT_ID, VERSION_ID, ENTITY_PATH),
buildIndex("groupId-artifactId-versionId-package", GROUP_ID, ARTIFACT_ID, VERSION_ID, ENTITY_PACKAGE),
buildIndex("entity-classifier", ENTITY_CLASSIFIER_PATH)
buildIndex("groupId-artifactId-versionId-entityAttributes-path", true, GROUP_ID, ARTIFACT_ID, VERSION_ID, ENTITY_PATH),
buildIndex("groupId-artifactId-versionId-entityAttributes-package", GROUP_ID, ARTIFACT_ID, VERSION_ID, ENTITY_PACKAGE),
buildIndex("entityAttributes-classifier", ENTITY_CLASSIFIER_PATH)
);
}

Expand Down

0 comments on commit a74ccfb

Please sign in to comment.