Skip to content

Commit 958fcb3

Browse files
authored
Merge pull request #16 from protegeproject/add_index_on_prj_and_iri
add index
2 parents abd71a4 + 7665d8c commit 958fcb3

File tree

1 file changed

+4
-0
lines changed
  • src/main/java/edu/stanford/protege/webprotegeeventshistory/uiHistoryConcern/events

1 file changed

+4
-0
lines changed

src/main/java/edu/stanford/protege/webprotegeeventshistory/uiHistoryConcern/events/RevisionsEvent.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88

99
@Document(collection = "RevisionsEvents")
1010
public record RevisionsEvent(
11+
12+
@Indexed(name = "revisionEventProjectId")
1113
ProjectId projectId,
14+
15+
@Indexed(name = "revisionEventEntityIri")
1216
String whoficEntityIri,
1317
ChangeType changeType,
1418
@Indexed(name = "timestamp", direction = IndexDirection.DESCENDING) long timestamp,

0 commit comments

Comments
 (0)