Skip to content

Commit

Permalink
Merge pull request #385 from bcgov/feature/GRAD2-3166
Browse files Browse the repository at this point in the history
GRAD2-3166 - Slowness in retrieving data from Redis cache
  • Loading branch information
infstar authored Dec 10, 2024
2 parents d614d99 + 8889cb4 commit c9b7791
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class NeighborhoodLearningEntity {

@Id
private String neighborhoodLearningId;
@Indexed
private String schoolId;
private String neighborhoodLearningTypeCode;
private String createUser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public class NoteEntity {

@Id
private String noteId;
@Indexed
private String schoolId;
@Indexed
private String districtId;
private String independentAuthorityId;
private String content;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class SchoolAddressEntity {

@Id
private String schoolAddressId;
@Indexed
private String schoolId;
private String addressTypeCode;
private String addressLine1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class SchoolContactEntity {

@Id
private String schoolContactId;
@Indexed
private String schoolId;
private String schoolContactTypeCode;
private String phoneNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ public class SchoolDetailEntity {

@Id
private String schoolId;
@Indexed
private String districtId;
@Indexed
private String mincode;
private String independentAuthorityId;
private String schoolNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ public class SchoolEntity {

@Id
private String schoolId;
@Indexed
private String districtId;
@Indexed
private String mincode;
private String independentAuthorityId;
private String schoolNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class SchoolFundingGroupEntity {

@Id
private String schoolFundingGroupID;
@Indexed
private String schoolId;
private String schoolGradeCode;
private String schoolFundingGroupCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public class SchoolMoveEntity {

@Id
private String schoolMoveId;
@Indexed
private String toSchoolId;
@Indexed
private String fromSchoolId;
private String moveDate;
private String createUser;
Expand Down

0 comments on commit c9b7791

Please sign in to comment.