Skip to content

Commit

Permalink
add modified index to entity record
Browse files Browse the repository at this point in the history
  • Loading branch information
gsergiu committed May 3, 2024
1 parent 9a847ae commit 52bb008
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 52bb008

Please sign in to comment.