diff --git a/pom.xml b/pom.xml index 93258cf..57254e6 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ eu.dnetlib.dhp dhp-schemas jar - 9.0.1-SNAPSHOT + 9.0.0-SNAPSHOT @@ -32,7 +32,6 @@ scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git https://code-repo.d4science.org/D-Net/dhp-schemas/ - dhp-schemas-2.10.30 This module contains common schema classes meant to be used across the dnet-hadoop submodules diff --git a/src/main/java/eu/dnetlib/dhp/schema/solr/RecordType.java b/src/main/java/eu/dnetlib/dhp/schema/solr/RecordType.java index 39900b3..e14c175 100644 --- a/src/main/java/eu/dnetlib/dhp/schema/solr/RecordType.java +++ b/src/main/java/eu/dnetlib/dhp/schema/solr/RecordType.java @@ -5,7 +5,7 @@ import java.io.Serializable; public enum RecordType implements Serializable { publication, dataset, - otherresearchproduct, + other, software, datasource, organization, diff --git a/src/main/java/eu/dnetlib/dhp/schema/solr/Result.java b/src/main/java/eu/dnetlib/dhp/schema/solr/Result.java index a9633b0..c53dea4 100644 --- a/src/main/java/eu/dnetlib/dhp/schema/solr/Result.java +++ b/src/main/java/eu/dnetlib/dhp/schema/solr/Result.java @@ -9,7 +9,9 @@ public class Result implements Serializable { /** * Type of the result: one of 'publication', 'dataset', 'software', 'other' (see also https://api.openaire.eu/vocabularies/dnet:result_typologies) + * This field is deprecated. See eu.dnetlib.dhp.schema.solr.SolrRecordHeader.RecordType */ + @Deprecated private String resulttype; /** @@ -165,10 +167,16 @@ public class Result implements Serializable { */ private List instance; + /** + * This field is deprecated. See eu.dnetlib.dhp.schema.solr.SolrRecordHeader.RecordType + * @return resulttype + */ + @Deprecated public String getResulttype() { return resulttype; } + @Deprecated public void setResulttype(String resulttype) { this.resulttype = resulttype; }