diff --git a/entity-management-definitions/src/main/java/eu/europeana/entitymanagement/definitions/model/EntityRecord.java b/entity-management-definitions/src/main/java/eu/europeana/entitymanagement/definitions/model/EntityRecord.java index 92ce922c..04544aad 100644 --- a/entity-management-definitions/src/main/java/eu/europeana/entitymanagement/definitions/model/EntityRecord.java +++ b/entity-management-definitions/src/main/java/eu/europeana/entitymanagement/definitions/model/EntityRecord.java @@ -1,8 +1,9 @@ package eu.europeana.entitymanagement.definitions.model; +import static eu.europeana.entitymanagement.definitions.EntityRecordFields.ENTITY_AGGREGATED_VIA; import static eu.europeana.entitymanagement.definitions.EntityRecordFields.ENTITY_EXACT_MATCH; +import static eu.europeana.entitymanagement.definitions.EntityRecordFields.ENTITY_MODIFIED; import static eu.europeana.entitymanagement.definitions.EntityRecordFields.ENTITY_SAME_AS; -import static eu.europeana.entitymanagement.definitions.EntityRecordFields.ENTITY_AGGREGATED_VIA; import static eu.europeana.entitymanagement.definitions.EntityRecordFields.ENTITY_TYPE; import static eu.europeana.entitymanagement.vocabulary.WebEntityFields.BASE_DATA_EUROPEANA_URI; import static eu.europeana.entitymanagement.vocabulary.WebEntityFields.ID; @@ -31,6 +32,7 @@ @Index(fields = {@Field(ENTITY_TYPE)}), @Index(fields = {@Field(ENTITY_EXACT_MATCH)}), @Index(fields = {@Field(ENTITY_SAME_AS)}), + @Index(fields = {@Field(ENTITY_MODIFIED)}), @Index(fields = {@Field(ENTITY_AGGREGATED_VIA)})}) @EntityListeners(EntityRecordWatcher.class) public class EntityRecord {