Skip to content

Commit

Permalink
CST-5249_suggestion correct the metadata names used by the datescorer
Browse files Browse the repository at this point in the history
  • Loading branch information
frabacche committed Feb 9, 2024
1 parent 9e2f69f commit 9d3dc68
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions dspace/config/registries/schema-person-types.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,19 @@
<qualifier>variant</qualifier>
<scope_note>Full name variant</scope_note>
</dc-type>

<dc-type>
<schema>person</schema>
<element>range</element>
<qualifier>maxdate</qualifier>
<scope_note>Last year in which the person is likely to be a contributor</scope_note>
</dc-type>

<dc-type>
<schema>person</schema>
<element>range</element>
<qualifier>mindate</qualifier>
<scope_note>First year in which the person is likely to be a contributor</scope_note>
</dc-type>

</dspace-dc-types>
3 changes: 2 additions & 1 deletion dspace/config/spring/api/suggestions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
<bean
class="org.dspace.app.suggestion.openaire.DateScorer">
<property name="birthDateMetadata" value="person.birthDate" />
<!-- <property name="educationDateMetadata" value="crisrp.education.end" /> -->
<property name="publicationDateMetadata" value="dc.date.issued" />
<property name="maxDateMetadata" value="person.range.maxdate" />
<property name="minDateMetadata" value="person.range.mindate" />
</bean>
</list>
</property>
Expand Down

0 comments on commit 9d3dc68

Please sign in to comment.