Merge remote-tracking branch 'origin/master' into scholix_flat_indexing

This commit is contained in:
Sandro La Bruzzo 2023-10-12 10:53:42 +02:00
commit ca68323002
5 changed files with 54 additions and 40 deletions

View File

@ -3,7 +3,8 @@
## Changelog
| **Version** | **Changes** | **Readiness** |
|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
| 3.17.1 | [Graph model] </br> <ul><li>added fulltext field on the instance level.</li><li>added extra organization specific PID types</li><ul> | beta |
| 3.16.0 | [Graph model] </br> <ul><li>added entity level measures.</li><ul> | beta |
| 3.15.0 | [Graph model] </br> <ul><li>added w3id as PID type, with ROHub as authority.</li> <ul> | beta |
| 3.14.0 | [Graph model] </br> <ul><li>introduced specific type for result.subject</li> <ul> | beta |

View File

@ -5,7 +5,7 @@
<groupId>eu.dnetlib.dhp</groupId>
<artifactId>dhp-schemas</artifactId>
<packaging>jar</packaging>
<version>3.16.1-SNAPSHOT</version>
<version>3.17.2-SNAPSHOT</version>
<licenses>
<license>

View File

@ -39,6 +39,11 @@ public class Instance implements Serializable {
private List<Measure> measures;
/**
* Direct fulltext URL.
*/
private String fulltext;
public Field<String> getLicense() {
return license;
}
@ -151,6 +156,14 @@ public class Instance implements Serializable {
this.measures = measures;
}
public String getFulltext() {
return fulltext;
}
public void setFulltext(String fulltext) {
this.fulltext = fulltext;
}
public String toComparableString() {
return String
.format(

View File

@ -95,9 +95,9 @@ public class Result extends OafEntity implements Serializable {
private List<Field<String>> source;
/**
* The Fulltext.
* The list of direct fulltext URLs.
*/
private List<Field<String>> fulltext; // remove candidate
private List<Field<String>> fulltext;
/**
* The Format.

View File

@ -59,7 +59,7 @@ public enum PidType {
pmc, handle, arXiv, nct, pdb, w3id,
// Organization
openorgs, corda, corda_h2020, GRID, mag_id, urn,
openorgs, ROR, GRID, PIC, ISNI, Wikidata, FundRef, corda, corda_h2020, mag_id, urn,
// Used by dedup
undefined, original;